{"id":54,"date":"2025-09-26T08:50:56","date_gmt":"2025-09-26T08:50:56","guid":{"rendered":"https:\/\/ska-blocks.com\/docs\/2025\/09\/26\/image-block\/"},"modified":"2025-11-17T16:58:30","modified_gmt":"2025-11-17T16:58:30","slug":"image-block","status":"publish","type":"post","link":"https:\/\/ska-blocks.com\/docs\/image-block\/","title":{"rendered":"Image block"},"content":{"rendered":"\n<p class=\"lead\">The Image block can be used to display different types of media. This documentation gives an overview of the modes that the Image block can operate in and provides copy-pastable examples of images styled in different ways.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Modes<\/h2>\n\n\n\n<p>The image block comes with multiple different modes of operation:<\/p>\n\n\n\n<div class=\"grid grid-cols-auto-fit-md gap-4 wp-block-ska-element\">\n<ul class=\"wp-block-list\">\n<li><a href=\"#image-mode-file\">File<\/a><\/li>\n\n\n\n<li><a href=\"#image-mode-svg\">SVG<\/a><\/li>\n\n\n\n<li><a href=\"#image-mode-icon\">Icon<\/a><\/li>\n\n\n\n<li><a href=\"#image-mode-lottie\">Lottie<\/a><\/li>\n\n\n\n<li><a href=\"#image-mode-placeholder\">Placeholder<\/a><\/li>\n<\/ul>\n\n\n\n<div role=\"figure\" class=\"place-self-center p-2 border wp-block-ska-image image\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2024\/03\/image-18.png\" alt=\"ska-blocks Image block modes - File, SVG, Icon, Lottie, Placeholder\" width=\"222\" height=\"94\"\/><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"image-mode-file\">Mode &#8211; File<\/h3>\n\n\n\n<p>Choose an image file from WordPress Media Library, custom URL, upload it or use <a href=\"#feature-featured\">the Featured image<\/a> (also works inside the core Query block).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"image-mode-svg\">Mode &#8211; SVG<\/h3>\n\n\n\n<p>Render any SVG image by insert raw SVG content. <\/p>\n\n\n\n<p>Add Tailwind classes to the SVG by using normal block controls, Tailwind classes that are included in raw SVG content do not get detected.<\/p>\n\n\n\n<p>By default the <strong>Sanitize<\/strong> option is enabled, which does some basic sanitization so you don&#8217;t accidentally XSS yourself when pasting a large unchecked SVG, but it may cause issues with some SVGs so turn it off when you have checked that the contents are not malicious.<\/p>\n\n\n\n<p>Uncheck the <strong>Wrap<\/strong> option when you don&#8217;t want the <code>&lt;svg&gt;<\/code> element to be wrapped in an additional element. The Tailwind classes (and other block classes and attributes) you have configured will then be injected directly into the SVG markup that is provided.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"image-mode-icon\">Mode &#8211; Icon<\/h3>\n\n\n\n<p>By switching the Image block to &#8220;Icon&#8221; mode you can select a SVG icon from available icon packs.<\/p>\n\n\n\n<p>Once you have selected an icon you can also switch back to SVG mode to edit your chosen icon. By default the <code>width<\/code> and <code>height<\/code> attributes are removed from bundled SVG icons to make them fluid, how ever if that&#8217;s not desirable the values can be recovered in the SVG mode from the <code>data-svg-width<\/code> and <code>data-svg-height<\/code> attributes. There are instances where you need the dimensions, and instances where you don&#8217;t, depends on the use case and SVG itself. The Icon mode also always wraps the <code>&lt;svg&gt;<\/code> element, if that is not desirable you can switch back to SVG mode as well, which has an option to toggle that functionality.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"ska-icons-plugin\">ska-icons plugin<\/h4>\n\n\n\n<p>By default <strong>ska-blocks<\/strong> doesn&#8217;t include any icons to keep the plugin size leaner. Download the <a href=\"https:\/\/ska-blocks.com\/update\/zip\/ska-icons.zip\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>ska-icons<\/strong> plugin<\/a> to add <a href=\"https:\/\/heroicons.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Heroicons<\/a> icons, <a href=\"https:\/\/feathericons.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Feather icons<\/a> and <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Font Awesome<\/a> icons.<\/p>\n\n\n\n<a href=\"https:\/\/ska-blocks.com\/update\/zip\/ska-icons.zip\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"gap-3 wp-block-ska-element ska-preset--ska-theme--button ska-preset--ska-theme--primary-button\">\n<span class=\"wp-block-ska-text ska-text\">ska-icons.zip<\/span>\n\n\n\n<div aria-hidden=\"true\" class=\"shrink-0 w-[var(--icon-size,_var(--spacing-4))] h-auto text-current wp-block-ska-image image\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.1.0 by @fontawesome - https:\/\/fontawesome.com License - https:\/\/fontawesome.com\/license\/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc. -->\n\t<path fill=\"currentColor\" d=\"M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z\"><\/path>\n<\/svg><\/div>\n<\/a>\n\n\n\n<h4 class=\"wp-block-heading\">Example icon<\/h4>\n\n\n\n<p class=\"-mt-8! text-xs\">Icon from: <a href=\"https:\/\/heroicons.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/heroicons.com<\/a><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"size-24 text-primary wp-block-ska-image image\"><svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n\t<path d=\"M9 12.75L11.25 15L15 9.75M21 12C21 13.2683 20.3704 14.3895 19.4067 15.0682C19.6081 16.2294 19.2604 17.4672 18.3637 18.3639C17.467 19.2606 16.2292 19.6083 15.068 19.4069C14.3893 20.3705 13.2682 21 12 21C10.7319 21 9.61072 20.3705 8.93204 19.407C7.77066 19.6086 6.53256 19.261 5.6357 18.3641C4.73886 17.4673 4.39125 16.2292 4.59286 15.0678C3.62941 14.3891 3 13.2681 3 12C3 10.7319 3.62946 9.61077 4.59298 8.93208C4.39147 7.77079 4.7391 6.53284 5.63587 5.63607C6.53265 4.73929 7.77063 4.39166 8.93194 4.59319C9.61061 3.62955 10.7318 3 12 3C13.2682 3 14.3893 3.6295 15.068 4.59307C16.2294 4.39145 17.4674 4.73906 18.3643 5.6359C19.2611 6.53274 19.6087 7.77081 19.4071 8.93218C20.3706 9.61087 21 10.7319 21 12Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n<\/svg><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;mode&quot;:&quot;icon&quot;,&quot;role&quot;:&quot;presentation&quot;,&quot;svg&quot;:&quot;\\u003csvg viewBox=\\u00220 0 24 24\\u0022 fill=\\u0022none\\u0022 xmlns=\\u0022http:\/\/www.w3.org\/2000\/svg\\u0022\\u003e\\n\\t\\u003cpath d=\\u0022M9 12.75L11.25 15L15 9.75M21 12C21 13.2683 20.3704 14.3895 19.4067 15.0682C19.6081 16.2294 19.2604 17.4672 18.3637 18.3639C17.467 19.2606 16.2292 19.6083 15.068 19.4069C14.3893 20.3705 13.2682 21 12 21C10.7319 21 9.61072 20.3705 8.93204 19.407C7.77066 19.6086 6.53256 19.261 5.6357 18.3641C4.73886 17.4673 4.39125 16.2292 4.59286 15.0678C3.62941 14.3891 3 13.2681 3 12C3 10.7319 3.62946 9.61077 4.59298 8.93208C4.39147 7.77079 4.7391 6.53284 5.63587 5.63607C6.53265 4.73929 7.77063 4.39166 8.93194 4.59319C9.61061 3.62955 10.7318 3 12 3C13.2682 3 14.3893 3.6295 15.068 4.59307C16.2294 4.39145 17.4674 4.73906 18.3643 5.6359C19.2611 6.53274 19.6087 7.77081 19.4071 8.93218C20.3706 9.61087 21 10.7319 21 12Z\\u0022 stroke=\\u0022currentColor\\u0022 stroke-width=\\u00221.5\\u0022 stroke-linecap=\\u0022round\\u0022 stroke-linejoin=\\u0022round\\u0022 \/\\u003e\\n\\u003c\/svg\\u003e&quot;,&quot;collection&quot;:&quot;heroicons&quot;,&quot;icon&quot;:&quot;24\/outline\/check-badge&quot;,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;size-24 text-primary&quot;,&quot;css&quot;:&quot;.size-24{width:var(--spacing-24);height:var(--spacing-24)}.text-primary{color:var(--color-primary)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksSize&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;24&quot;}}},&quot;skaBlocksTextColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;size-24 text-primary wp-block-ska-image&quot;&gt;\n&lt;svg viewBox=&quot;0 0 24 24&quot; fill=&quot;none&quot; xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot;&gt;\n\t&lt;path d=&quot;M9 12.75L11.25 15L15 9.75M21 12C21 13.2683 20.3704 14.3895 19.4067 15.0682C19.6081 16.2294 19.2604 17.4672 18.3637 18.3639C17.467 19.2606 16.2292 19.6083 15.068 19.4069C14.3893 20.3705 13.2682 21 12 21C10.7319 21 9.61072 20.3705 8.93204 19.407C7.77066 19.6086 6.53256 19.261 5.6357 18.3641C4.73886 17.4673 4.39125 16.2292 4.59286 15.0678C3.62941 14.3891 3 13.2681 3 12C3 10.7319 3.62946 9.61077 4.59298 8.93208C4.39147 7.77079 4.7391 6.53284 5.63587 5.63607C6.53265 4.73929 7.77063 4.39166 8.93194 4.59319C9.61061 3.62955 10.7318 3 12 3C13.2682 3 14.3893 3.6295 15.068 4.59307C16.2294 4.39145 17.4674 4.73906 18.3643 5.6359C19.2611 6.53274 19.6087 7.77081 19.4071 8.93218C20.3706 9.61087 21 10.7319 21 12Z&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;&gt;&lt;\/path&gt;\n&lt;\/svg&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h4 class=\"mt-2! wp-block-heading\">Custom icons<\/h4>\n\n\n\n<p>For a few custom icons it&#8217;s easiest to just use the Image block in SVG mode and simply paste the icon file contents.<\/p>\n\n\n\n<p>How ever, to add custom icon sets, they should be placed in your child theme directory in the <code>icons<\/code> folder.<br>For example: <code>wp-content\/themes\/ska-theme-child\/icons\/my-custom-icons\/*.svg<\/code>.<br>Alternatively you can specify additional icon sources using a filter:<\/p>\n\n\n\n<div class=\"wp-block-ska-code not-prose ska-preset--ska-theme--code\"><header><span class=\"title\">Adding an icon source<\/span><span class=\"label language-php\">PHP<\/span><\/header><div class=\"content\"><pre class=\"code php language-php\"><code class=\"language-php\">add_filter('ska_blocks_icon_sources', function($sources) {\n\treturn array_merge(&#91;trailingslashit(dirname(__FILE__))], $sources);\n});<\/code><\/pre><button :class=\"{error: state === &apos;error&apos;, success: state === &apos;success&apos;}\" x-data=\"{state:&apos;&apos;}\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.previousElementSibling.innerText), $el.innerText = `Copied!`, state = &apos;success&apos;) : ($el.innerText = `Can&amp;#039;t copy`, state = &apos;error&apos;)\" class=\"copy\" type=\"button\">Copy<\/button><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"image-mode-lottie\">Mode &#8211; Lottie<\/h3>\n\n\n\n<p>Allows to render lightweight and scalable animations in the form of a <a href=\"https:\/\/lottiefiles.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Lottie<\/a> <code>.json<\/code> file. Comes with some additional controls to configure how to render the Lottie.<\/p>\n\n\n\n<div role=\"figure\" class=\"place-self-start p-2 border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2024\/03\/image-20.png\" alt=\"ska-blocks Image block Lottie options\" loading=\"lazy\"\/><\/div>\n\n\n\n<p>In order to upload <code>.json<\/code> files to WordPress Media Library you&#8217;ll need to enable the <strong>ska-blocks -&gt; Options -&gt; Permissions -&gt; JSON uploads<\/strong> option. Alternatively upload the files to your child theme folder and use them with a direct link.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example Lottie<\/h4>\n\n\n\n<p class=\"-mt-6! text-xs\">Lottie from: <a href=\"https:\/\/animatedicons.co\/icons\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/animatedicons.co\/icons<\/a><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"size-32 wp-block-ska-image image\"><lottie-player autoplay loop speed=\"0.5\" direction=\"1\" mode=\"normal\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2024\/03\/Review.json\"><\/lottie-player><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;mode&quot;:&quot;lottie&quot;,&quot;role&quot;:&quot;presentation&quot;,&quot;id&quot;:724,&quot;lottieSpeed&quot;:0.5,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;size-32&quot;,&quot;css&quot;:&quot;.size-32{width:var(--spacing-32);height:var(--spacing-32)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksSize&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;32&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;size-32 wp-block-ska-image&quot;&gt;&lt;lottie-player autoplay loop speed=&quot;0.5&quot; direction=&quot;1&quot; mode=&quot;normal&quot; src=&quot;https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2024\/03\/Review.json&quot;&gt;&lt;\/lottie-player&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"image-mode-placeholder\">Mode &#8211; Placeholder<\/h3>\n\n\n\n<p>Allows to render a placeholder image to hold a spot for a real image.<\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-square max-w-80 wp-block-ska-image image\">\n\t<svg class=\"ska-placeholder w-full h-full object-cover rounded-[inherit] aspect-[inherit]\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\">\n\t\t<rect width=\"100%\" height=\"100%\" fill=\"#ddd\"\/>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" viewBox=\"0 0 512 512\">\n\t\t\t<path style=\"opacity:0.1\" d=\"m203.77 188c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.75-24-24-24zm147.55-44h-192c-17.225 0-31.555 14.325-31.555 32v160c0 17.675 14.325 32 31.55 32h192c17.675 0 32-14.325 32-32v-160c5e-3 -17.675-13.895-32-31.995-32zm8 188.65-68.4-92.95c-1.25-2.3-4.1-3.7-7.15-3.7-3.0565 0-5.91 1.384-7.605 3.6895l-53.3 72.05-18.545-23.05c-1.7205-2.1395-4.467-3.4045-7.385-3.4045-2.921 0-5.665 1.2645-7.39 3.4045l-37.76 46.905v0l-0.02-159.59c0-4.411 3.589-8 8-8h192c4.411 0 8 3.589 8 8v156.65z\" stroke-width=\".5\"\/>\n\t\t<\/svg>\n\t<\/svg>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-square max-w-80&quot;,&quot;css&quot;:&quot;.aspect-square{aspect-ratio:1}.max-w-80{max-width:var(--spacing-80)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;square&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;80&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-square max-w-80 wp-block-ska-image&quot;&gt;\n\t&lt;svg class=&quot;ska-placeholder w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot; xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; width=&quot;100%&quot; height=&quot;100%&quot;&gt;\n\t\t&lt;rect width=&quot;100%&quot; height=&quot;100%&quot; fill=&quot;#ddd&quot;\/&gt;\n\t\t&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; version=&quot;1.1&quot; viewBox=&quot;0 0 512 512&quot;&gt;\n\t\t\t&lt;path style=&quot;opacity:0.1&quot; d=&quot;m203.77 188c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.75-24-24-24zm147.55-44h-192c-17.225 0-31.555 14.325-31.555 32v160c0 17.675 14.325 32 31.55 32h192c17.675 0 32-14.325 32-32v-160c5e-3 -17.675-13.895-32-31.995-32zm8 188.65-68.4-92.95c-1.25-2.3-4.1-3.7-7.15-3.7-3.0565 0-5.91 1.384-7.605 3.6895l-53.3 72.05-18.545-23.05c-1.7205-2.1395-4.467-3.4045-7.385-3.4045-2.921 0-5.665 1.2645-7.39 3.4045l-37.76 46.905v0l-0.02-159.59c0-4.411 3.589-8 8-8h192c4.411 0 8 3.589 8 8v156.65z&quot; stroke-width=&quot;.5&quot;\/&gt;\n\t\t&lt;\/svg&gt;\n\t&lt;\/svg&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p>When the image block is in &#8220;Placeholder&#8221; mode, it will display the media picker when clicking on it, allowing to swap out the image with no technical knowledge required:<\/p>\n\n\n\n<div role=\"figure\" class=\"wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-47.png\" alt=\"Media picker in the block editor\" width=\"320\" height=\"320\" loading=\"lazy\" srcset=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-47.png 320w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-47-300x300.png 300w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-47-150x150.png 150w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><\/div>\n\n\n\n<p>ska-theme comes with bundled placeholder images that you can choose from:<\/p>\n\n\n\n<div role=\"figure\" class=\"place-self-start border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-46.png\" alt=\"Placeholder image selection control\" width=\"257\" height=\"131\" loading=\"lazy\"\/><\/div>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-video wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/18.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:18,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-video&quot;,&quot;css&quot;:&quot;.aspect-video{aspect-ratio:var(--aspect-video)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-video wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<hr class=\"mt-6 wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Features<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility<\/h3>\n\n\n\n<p>Image block has a &#8220;Role&#8221; option which can be used to fine-tune its&#8217; semantics:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Image<\/strong> <em>(or Link, when the image has a link)<\/em><br>Applies <code>role=\"figure\"<\/code> to wrapper element, image should have an alt text provided.<\/li>\n\n\n\n<li><strong>Presentation<\/strong><br>Hides the image from assistive technologies, no alt text is needed &#8211; use for decorative images.<\/li>\n\n\n\n<li><strong>None<\/strong><br>Doesn&#8217;t apply any semantics.<br><\/li>\n<\/ul>\n\n\n\n<p>When the image has a link you should provide an <code>aria-label<\/code> or <code>title<\/code> attribute, unless the image also has a suitable <code>alt<\/code>-text. When the image is using the &#8220;Lightbox&#8221; feature then it is also a link, but a <em>&#8220;View image in full screen&#8221;<\/em> <code>aria-label<\/code> is provided automatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Wrap &amp; Cover<\/h3>\n\n\n\n<p>When the &#8220;Wrap&#8221; option is enabled then the image is rendered with a wrapper element (e.g. <code>&lt;div&gt; -&gt; &lt;img&gt;<\/code>). All the Tailwind classes will be applied to the root element, so to target the image you would need to use <code>*<\/code> or <code>[&amp;&gt;img]<\/code> variants.<\/p>\n\n\n\n<p>When the image has a link or lightbox then the wrapper element becomes an <code>&lt;a&gt;<\/code>.<\/p>\n\n\n\n<p>When the image has a wrapper, the &#8220;Cover&#8221; option can be used to apply <code>object-fit: cover<\/code> CSS to the image, meaning it will always fill it&#8217;s container without any letterboxing. With &#8220;Cover&#8221; enabled, the image element automatically receives the Tailwind classes: <code>w-full h-full object-cover rounded-[inherit] aspect-[inherit]<\/code>. Should you need a different mode of object-fit, it can be overridden by adding a Tailwind class such as <code>*:object-contain!<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Resize images on the fly<\/h3>\n\n\n\n<p>When using an image from the WP Media Library you can insert custom dimensions and hit <strong>Resize<\/strong> to create an image with that size.<\/p>\n\n\n\n<div role=\"figure\" class=\"place-self-start p-2 border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-51.png\" alt=\"&quot;Resize&quot; button in image size selection control\" width=\"271\" height=\"87\" loading=\"lazy\"\/><\/div>\n\n\n\n<div role=\"figure\" class=\"place-self-start p-2 border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-52.png\" alt=\"Image resizing controls showing in image size selection control\" width=\"271\" height=\"206\" loading=\"lazy\"\/><\/div>\n\n\n\n<p>Specifying a &#8220;<strong>Custom<\/strong>&#8221; size when displaying a Featured image with the Image block will create a suitable size when first visiting the page where the featured image is requested:<\/p>\n\n\n\n<div role=\"figure\" class=\"place-self-start p-2 border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-53.png\" alt=\"&quot;Custom&quot; size selected in image size selection control, with custom dimensions specified\" width=\"267\" height=\"164\" loading=\"lazy\"\/><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Featured<\/h3>\n\n\n\n<p>When enabling the &#8220;<strong>Featured<\/strong>&#8221; option (available in &#8220;File&#8221; mode) the image block will display the current posts Featured image, instead of an image you chose yourself.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Meta key<\/h4>\n\n\n\n<p>In &#8220;Featured&#8221; mode, under block&#8217;s Advanced settings a &#8220;<strong>Meta key<\/strong>&#8221; option becomes available &#8211; this allows to override the image source from a featured image to a numeric image ID from any post meta key. For example, if you create an <a href=\"https:\/\/www.advancedcustomfields.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Advanced Custom Fields<\/a> Image field with the &#8220;Return format&#8221; set to &#8220;Image ID&#8221; then this field&#8217;s value can be connected to the Image block.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Exclusive<\/h4>\n\n\n\n<p>By default the single post template displays the featured image below the post title in a predefined size (e.g. <code>16\/9<\/code>). Sometimes your featured image can be unsuitable to be displayed there or maybe you don&#8217;t want to display the featured image at all in a particular post &#8211; while still having a featured image attached to the post. For this reason there is an advanced option &#8220;<strong>Exclusive featured image<\/strong>&#8220;, which is enabled by default for ska-theme&#8217;s featured images &#8211; when enabled, the featured image will not render when the post content <em>also<\/em> contains an Image block with the <strong>Featured<\/strong> option enabled. This allows you to place the featured image <em>anywhere<\/em> in the blog post content, customize it&#8217;s appearance (or hide it &#8211; with <code>sr-only<\/code> class) and not have a duplicate image in your post.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Lightbox<\/h3>\n\n\n\n<p>The lightbox feature allows to enable showing the image in full screen using <a href=\"https:\/\/photoswipe.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Photoswipe<\/a>. To make the image &#8220;zoomable&#8221; enable the &#8220;Lightbox&#8221; option on the Image block.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Image with a lightbox<\/h4>\n\n\n\n<p class=\"-mt-8! text-xs\">Image from: <a href=\"https:\/\/picsum.photos\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/picsum.photos<\/a><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<a aria-label=\"View image in full screen\" data-pswp-height=\"768\" data-pswp-width=\"1280\" data-ska-pswp=\"ska-pswp-1\" href=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3.png\" class=\"wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3.png\" alt=\"Placeholder image\" width=\"1280\" height=\"768\" loading=\"lazy\" srcset=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3.png 1280w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3-300x180.png 300w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3-1024x614.png 1024w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3-768x461.png 768w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/a>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;mode&quot;:&quot;file&quot;,&quot;width&quot;:1280,&quot;height&quot;:768,&quot;id&quot;:257,&quot;lightbox&quot;:true} --&gt;\n&lt;a class=&quot;wp-block-ska-image&quot;&gt;&lt;img src=&quot;https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-3.png&quot; alt=&quot;Placeholder image&quot; width=&quot;1280&quot; height=&quot;768&quot; loading=&quot;lazy&quot;\/&gt;&lt;\/a&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p>The same option is also available on the <a href=\"https:\/\/ska-blocks.com\/docs\/gallery-block\/\" data-type=\"post\" data-id=\"53\">Gallery block<\/a>, but you may choose to not enable the option and instead use the <a href=\"https:\/\/ska-blocks.com\/docs\/lightbox-block\/\" data-type=\"post\" data-id=\"52\">Lightbox block<\/a> to combine multiple images and galleries into a single Lightbox instance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Responsive<\/h3>\n\n\n\n<p>Enabling the &#8220;Responsive&#8221; option adds <code>srcset<\/code> and <code>sizes<\/code> attributes to the image using the WordPress core <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_image_add_srcset_and_sizes\/\" target=\"_blank\" rel=\"noreferrer noopener\">wp_image_add_srcset_and_sizes<\/a> function allowing the browser to pick the best image size to load. In order to use this functionality the image needs to be added from the Media Library not from a direct link.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Loading<\/h3>\n\n\n\n<p>The image block comes with 4 loading modes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Lazy<\/strong><br>Image will use the native <code>loading=\"lazy\"<\/code> attribute.<\/li>\n\n\n\n<li><strong>Eager<\/strong><br>Image will <em>not<\/em> use the <code>loading=\"lazy\"<\/code> attribute, so it will be loaded normally.<\/li>\n\n\n\n<li><strong>LCP<\/strong><br>Should be selected when the image is part of the Largest Contentful Paint: will use <code>fetchpriority=\"high\"<\/code> and <code>decoding=\"sync<\/code> attributes.<\/li>\n\n\n\n<li><strong>Preload<\/strong><br>Can be selected for the highest possible loading priority. Image will be preloaded in the <code>&lt;head&gt;<\/code> and receives <code>decoding=\"sync\"<\/code> attribute &#8211; use for critical above the fold images.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Low-res placeholder<\/h3>\n\n\n\n<p>For critical above the fold images the &#8220;<strong>Low-res placeholder<\/strong>&#8221; option can take a tiny version of the image and use it as a blurry\/pixelated background image placeholder for the actual image.<\/p>\n\n\n\n<p>While this method improves user experience by giving them something to look at much faster, it generally <strong>does not help<\/strong> with Lighthouse and its&#8217; Largest Contentful Paint (LCP) metric.<\/p>\n\n\n\n<p>The placeholder image can optionally be pre-loaded in the <code>&lt;head&gt;<\/code> for quick availability.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"feature-featured\">Transformation<\/h3>\n\n\n\n<p>WordPress core image block can be transformed into a <code>ska\/image<\/code> block:<\/p>\n\n\n\n<div role=\"figure\" class=\"place-self-start border wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-48.png\" alt=\"Transforming core\/image block to ska\/image block in the block editor\" width=\"376\" height=\"272\" loading=\"lazy\" srcset=\"https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-48.png 376w, https:\/\/ska-blocks.com\/docs\/wp-content\/uploads\/sites\/3\/2025\/09\/image-48-300x217.png 300w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/div>\n\n\n\n<p>You can paste images from your clipboard directly into the block editor which will upload the image to your WP Media Library and create a <code>core\/image<\/code> block, and then it can be transformed directly into a <code>ska\/image<\/code> block. The transformation can also be done in reverse. For just basic images it&#8217;s fine to keep using the core image block, you can transform when advanced flexibility is needed, such as controlling the image loading, accessibility or adding custom HTML attributes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Inline image<\/h3>\n\n\n\n<p>Under block&#8217;s <strong>Advanced<\/strong> settings, there is a button that can convert the current image into a base64-encoded string and use it as a data-URL. This saves an additional network request on the front end, but should only be used on <strong>very<\/strong> small images, as you will effectively be storing the image inside the post content as a string.<\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<img decoding=\"async\" class=\"wp-block-ska-image image\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAABBUlEQVR4AYyR6w1EUBCFT24bXm0IbRBtEMogtCG0IfSBOmy+SfxY2U1I5t47jzNzznD7vl9hGF5JkpjhXy8+VxSFxnE0y7JM+HrxueM4FMexfN9XVVXCf+KI9X0vrGkaYQ4QAZIEaIAPeNs2Y5CmqXhj0zRpXVe5russWNe1PM8zysMwiGJi0F+WhT7Gpm1b4Tsm3Bqhil+WpRUShwlNYAYgz3PLOTt\/HDQAAD3ezxJbDtqiKDLRTIAqNwCoMhkgjW79Dh1ogwY3Sajio3+eZ1sQk2lCU2ps4q0N\/mjBZwJvpmGAzvMUNTCx5dzjWXUQBGC+jEIAbBSjkf0O6DCem8QX6o\/zAQAA\/\/++wYw4AAAABklEQVQDACiWz6CwzkCUAAAAAElFTkSuQmCC\" alt=\"Tiny inlined image example\"\/>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;mode&quot;:&quot;file&quot;,&quot;wrap&quot;:false} --&gt;\n&lt;img class=&quot;wp-block-ska-image&quot; src=&quot;data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAABBUlEQVR4AYyR6w1EUBCFT24bXm0IbRBtEMogtCG0IfSBOmy+SfxY2U1I5t47jzNzznD7vl9hGF5JkpjhXy8+VxSFxnE0y7JM+HrxueM4FMexfN9XVVXCf+KI9X0vrGkaYQ4QAZIEaIAPeNs2Y5CmqXhj0zRpXVe5russWNe1PM8zysMwiGJi0F+WhT7Gpm1b4Tsm3Bqhil+WpRUShwlNYAYgz3PLOTt\/HDQAAD3ezxJbDtqiKDLRTIAqNwCoMhkgjW79Dh1ogwY3Sajio3+eZ1sQk2lCU2ps4q0N\/mjBZwJvpmGAzvMUNTCx5dzjWXUQBGC+jEIAbBSjkf0O6DCem8QX6o\/zAQAA\/\/++wYw4AAAABklEQVQDACiWz6CwzkCUAAAAAElFTkSuQmCC&quot; alt=&quot;Tiny inlined image example&quot;\/&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<hr class=\"mt-6 wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Examples<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Rounded image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-video rounded-3xl wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/14.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:14,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-video rounded-3xl&quot;,&quot;css&quot;:&quot;.aspect-video{aspect-ratio:var(--aspect-video)}.rounded-3xl{border-radius:var(--radius-3xl)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;3xl&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-video rounded-3xl wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Circular image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-square place-self-center w-full max-w-72 rounded-full wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/13.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:13,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-square place-self-center w-full max-w-72 rounded-full&quot;,&quot;css&quot;:&quot;.aspect-square{aspect-ratio:1}.place-self-center{place-self:center}.w-full{width:100%}.max-w-72{max-width:var(--spacing-72)}.rounded-full{border-radius:3.40282e38px}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;square&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;72&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-square place-self-center w-full max-w-72 rounded-full wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Hover zoom image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-video overflow-hidden rounded-xs *:transition-transform *:duration-500 *:hover:scale-110 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/23.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:23,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-video overflow-hidden rounded-xs *:transition-transform *:duration-500 *:hover:scale-110&quot;,&quot;css&quot;:&quot;.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-xs{border-radius:var(--radius-xs)}:is(.\\u005c*\\u005c:transition-transform\\u003e*){transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:is(.\\u005c*\\u005c:duration-500\\u003e*){--tw-duration:.5s;transition-duration:.5s}@media (hover:hover){:is(.\\u005c*\\u005c:hover\\u005c:scale-110\\u003e*):hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksSelectors&quot;:{&quot;*&quot;:{&quot;skaBlocksScale&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;hover&quot;:{&quot;@&quot;:&quot;110&quot;}},&quot;a&quot;:[]},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;transform&quot;}}},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;500&quot;}}}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;xs&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-video overflow-hidden rounded-xs *:transition-transform *:duration-500 *:hover:scale-110 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Grayscale filter hover transition<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-video rounded-md not-hover:grayscale transition-[filter] duration-700 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/33.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:33,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-video rounded-md not-hover:grayscale transition-[filter] duration-700&quot;,&quot;css&quot;:&quot;.aspect-video{aspect-ratio:var(--aspect-video)}.rounded-md{border-radius:var(--radius-md)}.not-hover\\u005c:grayscale:not(:hover){--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media not all and (hover:hover){.not-hover\\u005c:grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.transition-\\u005c[filter\\u005c]{transition-property:filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-700{--tw-duration:.7s;transition-duration:.7s}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;md&quot;}}},&quot;skaBlocksGrayscale&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;not-hover&quot;:{&quot;@&quot;:&quot;DEFAULT&quot;}}},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[filter]&quot;}},&quot;a&quot;:[&quot;[filter]&quot;]},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;700&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-video rounded-md not-hover:grayscale transition-[filter] duration-700 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Saturated blurry image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-video m-16 rounded-md not-hover:blur-md not-hover:brightness-125 not-hover:saturate-200 transition-[filter] duration-700 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/19.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:19,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-video m-16 rounded-md not-hover:blur-md not-hover:brightness-125 not-hover:saturate-200 transition-[filter] duration-700&quot;,&quot;css&quot;:&quot;.aspect-video{aspect-ratio:var(--aspect-video)}.m-16{margin:var(--spacing-16)}.rounded-md{border-radius:var(--radius-md)}.not-hover\\u005c:blur-md:not(:hover){--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media not all and (hover:hover){.not-hover\\u005c:blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.not-hover\\u005c:brightness-125:not(:hover){--tw-brightness:brightness(125%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media not all and (hover:hover){.not-hover\\u005c:brightness-125{--tw-brightness:brightness(125%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.not-hover\\u005c:saturate-200:not(:hover){--tw-saturate:saturate(200%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media not all and (hover:hover){.not-hover\\u005c:saturate-200{--tw-saturate:saturate(200%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.transition-\\u005c[filter\\u005c]{transition-property:filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-700{--tw-duration:.7s;transition-duration:.7s}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;16&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;md&quot;}}},&quot;skaBlocksBlur&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;not-hover&quot;:{&quot;@&quot;:&quot;md&quot;}}},&quot;skaBlocksBrightness&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;not-hover&quot;:{&quot;@&quot;:&quot;125&quot;}}},&quot;skaBlocksSaturate&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;not-hover&quot;:{&quot;@&quot;:&quot;200&quot;}}},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[filter]&quot;}},&quot;a&quot;:[&quot;[filter]&quot;]},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;700&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-video m-16 rounded-md not-hover:blur-md not-hover:brightness-125 not-hover:saturate-200 transition-[filter] duration-700 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Corner cutting with clip-path<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div class=\"[--clip:var(--spacing-20)] *:aspect-square grid *:overflow-hidden grid-cols-2 gap-gutter m-gutter wp-block-ska-element\">\n<div aria-hidden=\"true\" class=\"[clip-path:polygon(0_100%,0_var(--clip),var(--clip)_0,100%_0,100%_100%)] wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/6.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n\n\n\n<div aria-hidden=\"true\" class=\"[clip-path:polygon(0_0,calc(100%-var(--clip))_0,100%_var(--clip),100%_100%,0_100%)] wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/8.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n\n\n\n<div aria-hidden=\"true\" class=\"[clip-path:polygon(0_0,100%_0,100%_100%,var(--clip)_100%,0_calc(100%-var(--clip)))] wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/2.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n\n\n\n<div aria-hidden=\"true\" class=\"[clip-path:polygon(0_0,100%_0,100%_calc(100%-var(--clip)),calc(100%-var(--clip))_100%,0_100%)] wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/26.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[--clip:var(--spacing-20)] *:aspect-square grid *:overflow-hidden grid-cols-2 gap-gutter m-gutter&quot;,&quot;css&quot;:&quot;.\\u005c[--clip\\u005c:var\\u005c(--spacing-20\\u005c)\\u005c]{--clip:var(--spacing-20)}:is(.\\u005c*\\u005c:aspect-square\\u003e*){aspect-ratio:1}.grid{display:grid}:is(.\\u005c*\\u005c:overflow-hidden\\u003e*){overflow:hidden}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gap-gutter{gap:var(--gutter)}.m-gutter{margin:var(--gutter)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;skaBlocksAs&quot;:{&quot;element&quot;:&quot;div&quot;},&quot;skaBlocksSelectors&quot;:{&quot;*&quot;:{&quot;skaBlocksSelectors&quot;:[],&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;square&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}}}},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;--clip&quot;:{&quot;value&quot;:&quot;var(--spacing-20)&quot;,&quot;type&quot;:&quot;spacing&quot;}}},&quot;skaBlocksDisplay&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;grid&quot;}}},&quot;skaBlocksGridTemplateColumns&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;2&quot;},&quot;sm&quot;:{&quot;@&quot;:&quot;&quot;},&quot;lg&quot;:{&quot;@&quot;:&quot;&quot;}}},&quot;skaBlocksGap&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}},&quot;a&quot;:[]},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}}}} --&gt;\n&lt;div class=&quot;[--clip:var(--spacing-20)] *:aspect-square grid *:overflow-hidden grid-cols-2 gap-gutter m-gutter wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;loading&quot;:&quot;eager&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:6,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[clip-path:polygon(0_100%,0_var(--clip),var(--clip)_0,100%_0,100%_100%)]&quot;,&quot;css&quot;:&quot;.\\u005c[clip-path\\u005c:polygon\\u005c(0_100\\u005c%\\u005c,0_var\\u005c(--clip\\u005c)\\u005c,var\\u005c(--clip\\u005c)_0\\u005c,100\\u005c%_0\\u005c,100\\u005c%_100\\u005c%\\u005c)\\u005c]{clip-path:polygon(0 100%,0 var(--clip),var(--clip)0,100% 0,100% 100%)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;clip-path&quot;:{&quot;value&quot;:&quot;polygon(0_100%,0_var(--clip),var(--clip)_0,100%_0,100%_100%)&quot;,&quot;type&quot;:&quot;&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[clip-path:polygon(0_100%,0_var(--clip),var(--clip)_0,100%_0,100%_100%)] wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;loading&quot;:&quot;eager&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:8,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[clip-path:polygon(0_0,calc(100%-var(--clip))_0,100%_var(--clip),100%_100%,0_100%)]&quot;,&quot;css&quot;:&quot;.\\u005c[clip-path\\u005c:polygon\\u005c(0_0\\u005c,calc\\u005c(100\\u005c%-var\\u005c(--clip\\u005c)\\u005c)_0\\u005c,100\\u005c%_var\\u005c(--clip\\u005c)\\u005c,100\\u005c%_100\\u005c%\\u005c,0_100\\u005c%\\u005c)\\u005c]{clip-path:polygon(0 0,calc(100% - var(--clip))0,100% var(--clip),100% 100%,0 100%)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;clip-path&quot;:{&quot;value&quot;:&quot;polygon(0_0,calc(100%-var(--clip))_0,100%_var(--clip),100%_100%,0_100%)&quot;,&quot;type&quot;:&quot;&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[clip-path:polygon(0_0,calc(100%-var(--clip))_0,100%_var(--clip),100%_100%,0_100%)] wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;loading&quot;:&quot;eager&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:2,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[clip-path:polygon(0_0,100%_0,100%_100%,var(--clip)_100%,0_calc(100%-var(--clip)))]&quot;,&quot;css&quot;:&quot;.\\u005c[clip-path\\u005c:polygon\\u005c(0_0\\u005c,100\\u005c%_0\\u005c,100\\u005c%_100\\u005c%\\u005c,var\\u005c(--clip\\u005c)_100\\u005c%\\u005c,0_calc\\u005c(100\\u005c%-var\\u005c(--clip\\u005c)\\u005c)\\u005c)\\u005c]{clip-path:polygon(0 0,100% 0,100% 100%,var(--clip)100%,0 calc(100% - var(--clip)))}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;clip-path&quot;:{&quot;value&quot;:&quot;polygon(0_0,100%_0,100%_100%,var(--clip)_100%,0_calc(100%-var(--clip)))&quot;,&quot;type&quot;:&quot;&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[clip-path:polygon(0_0,100%_0,100%_100%,var(--clip)_100%,0_calc(100%-var(--clip)))] wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;loading&quot;:&quot;eager&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:26,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[clip-path:polygon(0_0,100%_0,100%_calc(100%-var(--clip)),calc(100%-var(--clip))_100%,0_100%)]&quot;,&quot;css&quot;:&quot;.\\u005c[clip-path\\u005c:polygon\\u005c(0_0\\u005c,100\\u005c%_0\\u005c,100\\u005c%_calc\\u005c(100\\u005c%-var\\u005c(--clip\\u005c)\\u005c)\\u005c,calc\\u005c(100\\u005c%-var\\u005c(--clip\\u005c)\\u005c)_100\\u005c%\\u005c,0_100\\u005c%\\u005c)\\u005c]{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--clip)),calc(100% - var(--clip))100%,0 100%)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;clip-path&quot;:{&quot;value&quot;:&quot;polygon(0_0,100%_0,100%_calc(100%-var(--clip)),calc(100%-var(--clip))_100%,0_100%)&quot;,&quot;type&quot;:&quot;&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[clip-path:polygon(0_0,100%_0,100%_calc(100%-var(--clip)),calc(100%-var(--clip))_100%,0_100%)] wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Image with a shadow<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"overflow-hidden place-self-center m-gutter w-full max-w-96 rounded-sm shadow-2xl hover:shadow-xl hover:shadow-orange-900\/25 transition-shadow wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/9.webp\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;placeholderIndex&quot;:9,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;overflow-hidden place-self-center m-gutter w-full max-w-96 rounded-sm shadow-2xl hover:shadow-xl hover:shadow-orange-900\/25 transition-shadow&quot;,&quot;css&quot;:&quot;.overflow-hidden{overflow:hidden}.place-self-center{place-self:center}.m-gutter{margin:var(--gutter)}.w-full{width:100%}.max-w-96{max-width:var(--spacing-96)}.rounded-sm{border-radius:var(--radius-sm)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media (hover:hover){.hover\\u005c:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media (hover:hover){.hover\\u005c:shadow-orange-900\\u005c\/25:hover{--tw-shadow-color:#7e2a0c40}@supports (color:color-mix(in lab, red, red)){.hover\\u005c:shadow-orange-900\\u005c\/25:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-orange-900)25%,transparent)var(--tw-shadow-alpha),transparent)}}}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;96&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;sm&quot;}}},&quot;skaBlocksBoxShadow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;2xl&quot;},&quot;hover&quot;:{&quot;@&quot;:&quot;xl&quot;}}},&quot;skaBlocksBoxShadowColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;hover&quot;:{&quot;@&quot;:&quot;orange-900\/25&quot;}}},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;shadow&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;overflow-hidden place-self-center m-gutter w-full max-w-96 rounded-sm shadow-2xl hover:shadow-xl hover:shadow-orange-900\/25 transition-shadow wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Accented image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"overflow-hidden place-self-center m-gutter w-full max-w-120 bg-primary-light rounded-3xl border border-primary shadow-lg shadow-primary\/35 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/5.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:5,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;overflow-hidden place-self-center m-gutter w-full max-w-120 bg-primary-light rounded-3xl border border-primary shadow-lg shadow-primary\/35&quot;,&quot;css&quot;:&quot;.overflow-hidden{overflow:hidden}.place-self-center{place-self:center}.m-gutter{margin:var(--gutter)}.w-full{width:100%}.max-w-120{max-width:calc(var(--spacing)*120)}.bg-primary-light{background-color:var(--color-primary-light)}.rounded-3xl{border-radius:var(--radius-3xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-primary{border-color:var(--color-primary)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-primary\\u005c\/35{--tw-shadow-color:#2ba2e559}@supports (color:color-mix(in lab, red, red)){.shadow-primary\\u005c\/35{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-primary)35%,transparent)var(--tw-shadow-alpha),transparent)}}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;120&quot;}},&quot;a&quot;:[&quot;120&quot;]},&quot;skaBlocksBackgroundColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary-light&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;3xl&quot;}}},&quot;skaBlocksBorderWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;DEFAULT&quot;}}},&quot;skaBlocksBorderColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary&quot;}}},&quot;skaBlocksBoxShadow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;lg&quot;}}},&quot;skaBlocksBoxShadowColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary\/35&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;overflow-hidden place-self-center m-gutter w-full max-w-120 bg-primary-light rounded-3xl border border-primary shadow-lg shadow-primary\/35 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Different image on hover<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div class=\"aspect-[16\/7] isolate relative *:absolute! *:inset-0 w-full *:size-full group wp-block-ska-element\">\n<div aria-hidden=\"true\" class=\"wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/26.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n\n\n\n<div aria-hidden=\"true\" class=\"z-1 opacity-0 group-hover:opacity-100 transition-opacity duration-500 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/24.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/element {&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-[16\/7] isolate relative *:absolute! *:inset-0 w-full *:size-full group&quot;,&quot;css&quot;:&quot;.aspect-\\u005c[16\\u005c\/7\\u005c]{aspect-ratio:16\/7}.isolate{isolation:isolate}.relative{position:relative}:is(.\\u005c*\\u005c:absolute\\u005c!\\u003e*){position:absolute!important}:is(.\\u005c*\\u005c:inset-0\\u003e*){inset:var(--spacing-0)}.w-full{width:100%}:is(.\\u005c*\\u005c:size-full\\u003e*){width:100%;height:100%}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksAppender&quot;:{&quot;type&quot;:&quot;hidden&quot;},&quot;skaBlocksSelectors&quot;:{&quot;*&quot;:{&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;absolute!&quot;}}},&quot;skaBlocksTopRightBottomLeft&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;i&quot;:&quot;0&quot;}},&quot;t&quot;:&quot;inset&quot;},&quot;skaBlocksSize&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[16\/7]&quot;}},&quot;a&quot;:[&quot;[16\/7]&quot;]},&quot;skaBlocksIsolation&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;isolate&quot;}}},&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;relative&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksGroup&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;DEFAULT&quot;}}}} --&gt;\n&lt;div class=&quot;aspect-[16\/7] isolate relative *:absolute! *:inset-0 w-full *:size-full group wp-block-ska-element&quot;&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:26,&quot;metadata&quot;:{&quot;name&quot;:&quot;Default image&quot;}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:24,&quot;metadata&quot;:{&quot;name&quot;:&quot;Hover image&quot;},&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;z-1 opacity-0 group-hover:opacity-100 transition-opacity duration-500&quot;,&quot;css&quot;:&quot;.z-1{z-index:1}.opacity-0{opacity:0}@media (hover:hover){.group-hover\\u005c:opacity-100:is(:where(.group):hover *){opacity:1}}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-500{--tw-duration:.5s;transition-duration:.5s}&quot;,&quot;t&quot;:1758876679,&quot;sb&quot;:false},&quot;skaBlocksZIndex&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;1&quot;}}},&quot;skaBlocksOpacity&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;0&quot;},&quot;group-hover&quot;:{&quot;@&quot;:&quot;100&quot;}}},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;opacity&quot;}}},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;500&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;z-1 opacity-0 group-hover:opacity-100 transition-opacity duration-500 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:ska\/element --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Skewed image<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"overflow-hidden place-self-center m-gutter w-full max-w-120 rounded-2xl shadow-md -skew-3 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/31.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:31,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;overflow-hidden place-self-center m-gutter w-full max-w-120 rounded-2xl shadow-md -skew-3&quot;,&quot;css&quot;:&quot;.overflow-hidden{overflow:hidden}.place-self-center{place-self:center}.m-gutter{margin:var(--gutter)}.w-full{width:100%}.max-w-120{max-width:calc(var(--spacing)*120)}.rounded-2xl{border-radius:var(--radius-2xl)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.-skew-3{--tw-skew-x:skewX(calc(3deg*-1));--tw-skew-y:skewY(calc(3deg*-1));transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;120&quot;}},&quot;a&quot;:[&quot;120&quot;]},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;2xl&quot;}}},&quot;skaBlocksBoxShadow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;md&quot;}}},&quot;skaBlocksSkew&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;-3&quot;,&quot;x&quot;:&quot;&quot;,&quot;y&quot;:&quot;&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;overflow-hidden place-self-center m-gutter w-full max-w-120 rounded-2xl shadow-md -skew-3 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Flat accent shadow<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"isolate relative after:absolute after:inset-0 after:-z-1 place-self-center m-gutter w-full max-w-96 after:bg-primary-light rounded-lg after:rounded-[inherit] after:translate-x-4 after:translate-y-4 after:translate-z-8 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/19.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:19,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;isolate relative after:absolute after:inset-0 after:-z-1 place-self-center m-gutter w-full max-w-96 after:bg-primary-light rounded-lg after:rounded-[inherit] after:translate-x-4 after:translate-y-4 after:translate-z-8&quot;,&quot;css&quot;:&quot;.isolate{isolation:isolate}.relative{position:relative}.after\\u005c:absolute:after{content:var(--tw-content);position:absolute}.after\\u005c:inset-0:after{content:var(--tw-content);inset:var(--spacing-0)}.after\\u005c:-z-1:after{content:var(--tw-content);z-index:calc(1*-1)}.place-self-center{place-self:center}.m-gutter{margin:var(--gutter)}.w-full{width:100%}.max-w-96{max-width:var(--spacing-96)}.after\\u005c:bg-primary-light:after{content:var(--tw-content);background-color:var(--color-primary-light)}.rounded-lg{border-radius:var(--radius-lg)}.after\\u005c:rounded-\\u005c[inherit\\u005c]:after{content:var(--tw-content);border-radius:inherit}.after\\u005c:translate-x-4:after{content:var(--tw-content);--tw-translate-x:var(--spacing-4);translate:var(--tw-translate-x)var(--tw-translate-y)}.after\\u005c:translate-y-4:after{content:var(--tw-content);--tw-translate-y:var(--spacing-4);translate:var(--tw-translate-x)var(--tw-translate-y)}.after\\u005c:translate-z-8:after{content:var(--tw-content);--tw-translate-z:var(--spacing-8);translate:var(--tw-translate-x)var(--tw-translate-y)var(--tw-translate-z)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksSelectors&quot;:{&quot;after&quot;:{&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;absolute&quot;}}},&quot;skaBlocksTopRightBottomLeft&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;i&quot;:&quot;0&quot;}},&quot;t&quot;:&quot;inset&quot;},&quot;skaBlocksTranslate&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;x&quot;:&quot;4&quot;,&quot;z&quot;:&quot;8&quot;,&quot;y&quot;:&quot;4&quot;}}},&quot;skaBlocksBackgroundColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary-light&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[inherit]&quot;}},&quot;a&quot;:[&quot;[inherit]&quot;]},&quot;skaBlocksZIndex&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;-1&quot;}}}}},&quot;skaBlocksIsolation&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;isolate&quot;}}},&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;relative&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;gutter&quot;}}},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;96&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;lg&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;isolate relative after:absolute after:inset-0 after:-z-1 place-self-center m-gutter w-full max-w-96 after:bg-primary-light rounded-lg after:rounded-[inherit] after:translate-x-4 after:translate-y-4 after:translate-z-8 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Stacked accent<\/h3>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"aspect-square isolate relative before:absolute after:absolute before:inset-0 after:inset-0 before:-z-1 after:-z-2 place-self-center mx-8 my-16 w-full max-w-96 before:bg-primary-light\/75 after:bg-primary-light\/50 rounded-none before:rounded-[inherit] after:rounded-[inherit] before:transition-transform after:transition-transform before:duration-500 after:duration-700 before:ease-in-out after:ease-in-out before:scale-110 hover:before:scale-105 after:scale-120 hover:after:scale-110 hover:before:rotate-1 hover:after:-rotate-1 before:skew-2 hover:before:-skew-2 after:-skew-2 hover:after:skew-2 wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/2.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:2,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;aspect-square isolate relative before:absolute after:absolute before:inset-0 after:inset-0 before:-z-1 after:-z-2 place-self-center mx-8 my-16 w-full max-w-96 before:bg-primary-light\/75 after:bg-primary-light\/50 rounded-none before:rounded-[inherit] after:rounded-[inherit] before:transition-transform after:transition-transform before:duration-500 after:duration-700 before:ease-in-out after:ease-in-out before:scale-110 hover:before:scale-105 after:scale-120 hover:after:scale-110 hover:before:rotate-1 hover:after:-rotate-1 before:skew-2 hover:before:-skew-2 after:-skew-2 hover:after:skew-2&quot;,&quot;css&quot;:&quot;.aspect-square{aspect-ratio:1}.isolate{isolation:isolate}.relative{position:relative}.before\\u005c:absolute:before{content:var(--tw-content);position:absolute}.after\\u005c:absolute:after{content:var(--tw-content);position:absolute}.before\\u005c:inset-0:before{content:var(--tw-content);inset:var(--spacing-0)}.after\\u005c:inset-0:after{content:var(--tw-content);inset:var(--spacing-0)}.before\\u005c:-z-1:before{content:var(--tw-content);z-index:calc(1*-1)}.after\\u005c:-z-2:after{content:var(--tw-content);z-index:calc(2*-1)}.place-self-center{place-self:center}.mx-8{margin-inline:var(--spacing-8)}.my-16{margin-block:var(--spacing-16)}.w-full{width:100%}.max-w-96{max-width:var(--spacing-96)}.before\\u005c:bg-primary-light\\u005c\/75:before{content:var(--tw-content);background-color:color-mix(in srgb,color-mix(in oklab,var(--color-primary),white 10%)75%,transparent)}@supports (color:color-mix(in lab, red, red)){.before\\u005c:bg-primary-light\\u005c\/75:before{background-color:color-mix(in oklab,var(--color-primary-light)75%,transparent)}}.after\\u005c:bg-primary-light\\u005c\/50:after{content:var(--tw-content);background-color:color-mix(in srgb,color-mix(in oklab,var(--color-primary),white 10%)50%,transparent)}@supports (color:color-mix(in lab, red, red)){.after\\u005c:bg-primary-light\\u005c\/50:after{background-color:color-mix(in oklab,var(--color-primary-light)50%,transparent)}}.rounded-none{border-radius:0}.before\\u005c:rounded-\\u005c[inherit\\u005c]:before{content:var(--tw-content);border-radius:inherit}.after\\u005c:rounded-\\u005c[inherit\\u005c]:after{content:var(--tw-content);border-radius:inherit}.before\\u005c:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.after\\u005c:transition-transform:after{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\u005c:duration-500:before{content:var(--tw-content);--tw-duration:.5s;transition-duration:.5s}.after\\u005c:duration-700:after{content:var(--tw-content);--tw-duration:.7s;transition-duration:.7s}.before\\u005c:ease-in-out:before{content:var(--tw-content);--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.after\\u005c:ease-in-out:after{content:var(--tw-content);--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.before\\u005c:scale-110:before{content:var(--tw-content);--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}@media (hover:hover){.hover\\u005c:before\\u005c:scale-105:hover:before{content:var(--tw-content);--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.after\\u005c:scale-120:after{content:var(--tw-content);--tw-scale-x:120%;--tw-scale-y:120%;--tw-scale-z:120%;scale:var(--tw-scale-x)var(--tw-scale-y)}@media (hover:hover){.hover\\u005c:after\\u005c:scale-110:hover:after{content:var(--tw-content);--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}}@media (hover:hover){.hover\\u005c:before\\u005c:rotate-1:hover:before{content:var(--tw-content);rotate:1deg}}@media (hover:hover){.hover\\u005c:after\\u005c:-rotate-1:hover:after{content:var(--tw-content);rotate:-1deg}}.before\\u005c:skew-2:before{content:var(--tw-content);--tw-skew-x:skewX(2deg);--tw-skew-y:skewY(2deg);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}@media (hover:hover){.hover\\u005c:before\\u005c:-skew-2:hover:before{content:var(--tw-content);--tw-skew-x:skewX(calc(2deg*-1));--tw-skew-y:skewY(calc(2deg*-1));transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}}.after\\u005c:-skew-2:after{content:var(--tw-content);--tw-skew-x:skewX(calc(2deg*-1));--tw-skew-y:skewY(calc(2deg*-1));transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}@media (hover:hover){.hover\\u005c:after\\u005c:skew-2:hover:after{content:var(--tw-content);--tw-skew-x:skewX(2deg);--tw-skew-y:skewY(2deg);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}}&quot;,&quot;t&quot;:1758876679,&quot;sb&quot;:false},&quot;skaBlocksSelectors&quot;:{&quot;before&quot;:{&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;absolute&quot;}}},&quot;skaBlocksTopRightBottomLeft&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;i&quot;:&quot;0&quot;}},&quot;t&quot;:&quot;inset&quot;},&quot;skaBlocksBackgroundColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary-light\/75&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[inherit]&quot;}},&quot;a&quot;:[&quot;[inherit]&quot;]},&quot;skaBlocksZIndex&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;-1&quot;}}},&quot;skaBlocksScale&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;110&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;105&quot;}}},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;transform&quot;}}},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;500&quot;}}},&quot;skaBlocksTransitionTimingFunction&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;in-out&quot;}}},&quot;skaBlocksRotate&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;1&quot;}}},&quot;skaBlocksSkew&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;2&quot;,&quot;x&quot;:&quot;&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;-2&quot;}}}},&quot;after&quot;:{&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;absolute&quot;}}},&quot;skaBlocksTopRightBottomLeft&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;i&quot;:&quot;0&quot;}},&quot;t&quot;:&quot;inset&quot;},&quot;skaBlocksBackgroundColor&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;primary-light\/50&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[inherit]&quot;}},&quot;a&quot;:[&quot;[inherit]&quot;]},&quot;skaBlocksZIndex&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;-2&quot;}}},&quot;skaBlocksScale&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;120&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;110&quot;}},&quot;a&quot;:[&quot;120&quot;]},&quot;skaBlocksTransitionProperty&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;transform&quot;}}},&quot;skaBlocksTransitionDuration&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;700&quot;}}},&quot;skaBlocksTransitionTimingFunction&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;in-out&quot;}}},&quot;skaBlocksRotate&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;-1&quot;}}},&quot;skaBlocksSkew&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;-2&quot;},&quot;\\u003chover&quot;:{&quot;@&quot;:&quot;2&quot;}}}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;square&quot;}}},&quot;skaBlocksIsolation&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;isolate&quot;}}},&quot;skaBlocksPosition&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;relative&quot;}}},&quot;skaBlocksPlaceSelf&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;center&quot;}}},&quot;skaBlocksMargin&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;&quot;,&quot;x&quot;:&quot;8&quot;,&quot;y&quot;:&quot;16&quot;}},&quot;t&quot;:&quot;axis&quot;},&quot;skaBlocksWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}}},&quot;skaBlocksMaxWidth&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;96&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;none&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;aspect-square isolate relative before:absolute after:absolute before:inset-0 after:inset-0 before:-z-1 after:-z-2 place-self-center mx-8 my-16 w-full max-w-96 before:bg-primary-light\/75 after:bg-primary-light\/50 rounded-none before:rounded-[inherit] after:rounded-[inherit] before:transition-transform after:transition-transform before:duration-500 after:duration-700 before:ease-in-out after:ease-in-out before:scale-110 hover:before:scale-105 after:scale-120 hover:after:scale-110 hover:before:rotate-1 hover:after:-rotate-1 before:skew-2 hover:before:-skew-2 after:-skew-2 hover:after:skew-2 wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\">Next-gen examples<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/corner-shape\" target=\"_blank\" rel=\"noreferrer noopener\">new CSS <code>corner-shape<\/code> property<\/a> allows for creating unique-looking images. For now there is only <a href=\"https:\/\/caniuse.com\/mdn-css_properties_corner-shape\" target=\"_blank\" rel=\"noreferrer noopener\">support for Chrome-based browsers<\/a> and there is no Tailwind CSS utility for it so a fully arbitrary class needs to be used (which can be done using <a href=\"https:\/\/ska-blocks.com\/docs\/variables\/\" data-type=\"post\" data-id=\"23\">the &#8220;Variables&#8221; feature of ska-blocks<\/a>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Squircular image<\/h3>\n\n\n\n<p class=\"-mt-6\"><code>[corner-shape:squircle] rounded-4xl<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:squircle] aspect-video overflow-hidden rounded-4xl wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/5.webp\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;placeholderIndex&quot;:5,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:squircle] aspect-video overflow-hidden rounded-4xl&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:squircle\\u005c]{corner-shape:squircle}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-4xl{border-radius:var(--radius-4xl)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;squircle&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;4xl&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:squircle] aspect-video overflow-hidden rounded-4xl wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p>Note: when using a wrapper element, you may also need to add <code>*:[corner-shape:inherit]<\/code> class or apply the corner shape directly to the image element:<\/p>\n\n\n\n<div class=\"grid grid-cols-auto-fit-md gap-gutter wp-block-ska-element\">\n<div aria-hidden=\"true\" class=\"[corner-shape:squircle] aspect-video overflow-hidden bg-red rounded-4xl wp-block-ska-image image\">\n\t<svg class=\"ska-placeholder w-full h-full object-cover rounded-[inherit] aspect-[inherit]\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\">\n\t\t<rect width=\"100%\" height=\"100%\" fill=\"#ddd\"\/>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" viewBox=\"0 0 512 512\">\n\t\t\t<path style=\"opacity:0.1\" d=\"m203.77 188c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.75-24-24-24zm147.55-44h-192c-17.225 0-31.555 14.325-31.555 32v160c0 17.675 14.325 32 31.55 32h192c17.675 0 32-14.325 32-32v-160c5e-3 -17.675-13.895-32-31.995-32zm8 188.65-68.4-92.95c-1.25-2.3-4.1-3.7-7.15-3.7-3.0565 0-5.91 1.384-7.605 3.6895l-53.3 72.05-18.545-23.05c-1.7205-2.1395-4.467-3.4045-7.385-3.4045-2.921 0-5.665 1.2645-7.39 3.4045l-37.76 46.905v0l-0.02-159.59c0-4.411 3.589-8 8-8h192c4.411 0 8 3.589 8 8v156.65z\" stroke-width=\".5\"\/>\n\t\t<\/svg>\n\t<\/svg>\n\t<\/div>\n\n\n\n<div aria-hidden=\"true\" class=\"[corner-shape:squircle] *:[corner-shape:inherit] aspect-video overflow-hidden bg-red rounded-4xl wp-block-ska-image image\">\n\t<svg class=\"ska-placeholder w-full h-full object-cover rounded-[inherit] aspect-[inherit]\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\">\n\t\t<rect width=\"100%\" height=\"100%\" fill=\"#ddd\"\/>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" viewBox=\"0 0 512 512\">\n\t\t\t<path style=\"opacity:0.1\" d=\"m203.77 188c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.75-24-24-24zm147.55-44h-192c-17.225 0-31.555 14.325-31.555 32v160c0 17.675 14.325 32 31.55 32h192c17.675 0 32-14.325 32-32v-160c5e-3 -17.675-13.895-32-31.995-32zm8 188.65-68.4-92.95c-1.25-2.3-4.1-3.7-7.15-3.7-3.0565 0-5.91 1.384-7.605 3.6895l-53.3 72.05-18.545-23.05c-1.7205-2.1395-4.467-3.4045-7.385-3.4045-2.921 0-5.665 1.2645-7.39 3.4045l-37.76 46.905v0l-0.02-159.59c0-4.411 3.589-8 8-8h192c4.411 0 8 3.589 8 8v156.65z\" stroke-width=\".5\"\/>\n\t\t<\/svg>\n\t<\/svg>\n\t<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Notch<\/h3>\n\n\n\n<p class=\"-mt-6\"><code>[corner-shape:notch] rounded-4xl<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:notch] aspect-video overflow-hidden rounded-4xl wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/25.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:25,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:notch] aspect-video overflow-hidden rounded-4xl&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:notch\\u005c]{corner-shape:notch}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-4xl{border-radius:var(--radius-4xl)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;notch&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;4xl&quot;}}}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:notch] aspect-video overflow-hidden rounded-4xl wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Scoop<\/h3>\n\n\n\n<p class=\"-mt-6\"><code>[corner-shape:scoop] rounded-[3rem]<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:scoop] aspect-video overflow-hidden rounded-[3rem] wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/16.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:16,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:scoop] aspect-video overflow-hidden rounded-[3rem]&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:scoop\\u005c]{corner-shape:scoop}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-\\u005c[3rem\\u005c]{border-radius:3rem}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;scoop&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;[3rem]&quot;}},&quot;a&quot;:[&quot;[3rem]&quot;]}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:scoop] aspect-video overflow-hidden rounded-[3rem] wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Bevel<\/h3>\n\n\n\n<p class=\"-mt-6\"><code>[corner-shape:bevel] rounded-4xl<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:bevel] aspect-video overflow-hidden rounded-4xl wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/3.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:3,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:bevel] aspect-video overflow-hidden rounded-4xl&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:bevel\\u005c]{corner-shape:bevel}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-4xl{border-radius:var(--radius-4xl)}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;bevel&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;4xl&quot;}},&quot;a&quot;:[]}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:bevel] aspect-video overflow-hidden rounded-4xl wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p><code>[corner-shape:bevel] rounded-full<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:bevel] aspect-video overflow-hidden rounded-full wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/8.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:8,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:bevel] aspect-video overflow-hidden rounded-full&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:bevel\\u005c]{corner-shape:bevel}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;bevel&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}},&quot;a&quot;:[]}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:bevel] aspect-video overflow-hidden rounded-full wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<p><code>[corner-shape:bevel] rounded-full aspect-square<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:bevel] aspect-square overflow-hidden rounded-full wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/15.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:15,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:bevel] aspect-square overflow-hidden rounded-full&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:bevel\\u005c]{corner-shape:bevel}.aspect-square{aspect-ratio:1}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;bevel&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;square&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}},&quot;a&quot;:[]}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:bevel] aspect-square overflow-hidden rounded-full wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Superellipse<\/h3>\n\n\n\n<p class=\"-mt-6\"><code>[corner-shape:superellipse(-0.25)] rounded-full<\/code><\/p>\n\n\n<div class=\"ska-blocks-docs__wrapper not-prose\" x-data=\"{showContent: false, showMessage: false, showError: false}\" style=\"display:flex;flex-direction:column\">\n<div class=\"wp-block-ska-element ska-blocks-docs not-prose ska-preset--docs-blocks\">\n<div aria-hidden=\"true\" class=\"[corner-shape:superellipse(-0.25)] aspect-video overflow-hidden rounded-full wp-block-ska-image image\"><img decoding=\"async\" src=\"https:\/\/ska-blocks.com\/docs\/wp-content\/themes\/ska-theme\/build-static\/placeholders\/32.webp\" class=\"w-full h-full object-cover rounded-[inherit] aspect-[inherit]\"\/><\/div>\n<\/div>\n<div class=\"ska-blocks-docs__controls\" style=\"order:-1\">\n\t<button class=\"code\" type=\"button\" x-on:click=\"showContent = !showContent\" x-text=\"showContent ? 'Hide code' : 'Show code'\" aria-pressed=\"showContent\">Show code<\/button>\n\t<div>\n\t\t<span class=\"message success\" aria-hidden=\"true\" x-cloak x-show=\"showMessage\" >Copied!<\/span>\n\t\t<span class=\"message error\" aria-hidden=\"true\" x-cloak x-show=\"showError\">Couldn&#8217;t copy!<\/span>\n\t\t<button class=\"copy\" type=\"button\" x-on:click=\"navigator.clipboard ? (navigator.clipboard.writeText($el.parentElement.parentElement.nextElementSibling.querySelector('pre').innerText), showMessage = true) : showError = true\">Copy blocks<\/button>\n\t<\/div>\n<\/div>\n<div class=\"ska-blocks-docs__content ska-preset--ska-theme--code\" x-cloak x-collapse x-show=\"showContent\" hidden>\n\t<div class=\"content\">\n\t\t<pre class=\"ska-blocks-docs__blocks code\"><code class=\"html language-html\">&lt;!-- wp:ska\/image {&quot;role&quot;:&quot;presentation&quot;,&quot;cover&quot;:true,&quot;placeholderIndex&quot;:32,&quot;skaBlocks&quot;:{&quot;cx&quot;:&quot;[corner-shape:superellipse(-0.25)] aspect-video overflow-hidden rounded-full&quot;,&quot;css&quot;:&quot;.\\u005c[corner-shape\\u005c:superellipse\\u005c(-0\\u005c.25\\u005c)\\u005c]{corner-shape:superellipse(-.25)}.aspect-video{aspect-ratio:var(--aspect-video)}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}&quot;,&quot;t&quot;:1758876679},&quot;skaBlocksVariables&quot;:{&quot;record&quot;:{&quot;corner-shape&quot;:{&quot;value&quot;:&quot;superellipse(-0.25)&quot;,&quot;type&quot;:&quot;&quot;}}},&quot;skaBlocksAspectRatio&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;video&quot;}}},&quot;skaBlocksOverflow&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;hidden&quot;}}},&quot;skaBlocksBorderRadius&quot;:{&quot;v&quot;:{&quot;$&quot;:{&quot;@&quot;:&quot;full&quot;}},&quot;a&quot;:[]}} --&gt;\n&lt;div aria-hidden=&quot;true&quot; class=&quot;[corner-shape:superellipse(-0.25)] aspect-video overflow-hidden rounded-full wp-block-ska-image&quot;&gt;&lt;img src=&quot;%SKA_PLACEHOLDER_IMAGE%&quot; class=&quot;w-full h-full object-cover rounded-[inherit] aspect-[inherit]&quot;\/&gt;&lt;\/div&gt;\n&lt;!-- \/wp:ska\/image --&gt;<\/code><\/pre>\n\t<\/div>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The Image block can be used to display different types of media. This documentation gives an overview of the modes that the Image block can operate in and provides copy-pastable examples of images styled in different ways. Modes The image block comes with multiple different modes of operation: Mode &#8211; File Choose an image file&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-ska-blocks","tag-blocks"],"_links":{"self":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":18,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":610,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/posts\/54\/revisions\/610"}],"wp:attachment":[{"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ska-blocks.com\/docs\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}