{"id":40685,"date":"2026-11-17T12:35:19","date_gmt":"2026-11-17T20:35:19","guid":{"rendered":"https:\/\/cloudinary.com\/blog\/?p=40685"},"modified":"2026-11-17T12:35:19","modified_gmt":"2026-11-17T20:35:19","slug":"google-undersized-images-transformation","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","title":{"rendered":"Keep Your Products on Google: Fix Undersized Images With One Transformation"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>From January 31, 2027, <a href=\"https:\/\/support.google.com\/merchants\/answer\/6324350\">Google Merchant Center<\/a> enforces a universal minimum image size of 500&#215;500 pixels across all product categories. Google recommends 1500&#215;1500 pixels, but 500&#215;500 is the line that decides whether your products show up.<\/p>\n<p>What happens depends on which image is too small:<\/p>\n<ul>\n<li>\n<strong>Main image<\/strong> (<code>image_link<\/code>): if it\u2019s below 500&#215;500, the product is disapproved and stops showing on Google.<\/li>\n<li>\n<strong>Additional image<\/strong> (<code>additional_image_link<\/code>): if it\u2019s below 500&#215;500, that image doesn\u2019t show, but the product survives.<\/li>\n<\/ul>\n<p>Soft warnings are already appearing in merchant dashboards. If your catalog includes older SKUs that passed under Google\u2019s previous, lower limits, now is the time to check.<\/p>\n<p>This post walks through the whole fix: checking how many of your images are affected, bringing them up to size with a single Cloudinary transformation, and the two feed-side steps you need to finish before the deadline.<\/p>\n<ul>\n<li>\n<strong>Already a Cloudinary customer?<\/strong> Skim <a href=\"#see_how_many_images_are_affected\">how many images are affected<\/a> if you\u2019re curious, then <a href=\"#the_transformation\">apply the transformation<\/a>.<\/li>\n<li>\n<strong>New to Cloudinary?<\/strong> Read <a href=\"#how_cloudinary_transformations_work\">how transformations work<\/a> first, then <a href=\"https:\/\/cloudinary.com\/users\/register_free\">sign up for a free account<\/a> and follow the same steps.<\/li>\n<\/ul>\n<h2>What Google Requires<\/h2>\n<p>For <code>image_link<\/code>, Google Merchant Center asks for:<\/p>\n<figure class=\"table-wrapper\"><table>\n<thead>\n<tr>\n<th>Requirement<\/th>\n<th>What It Means<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>At least 500&#215;500 pixels<\/td>\n<td>The image can\u2019t fall below this size. Google recommends around 1500&#215;1500.<\/td>\n<\/tr>\n<tr>\n<td>A supported file type<\/td>\n<td>AVIF, for example, isn\u2019t accepted.<\/td>\n<\/tr>\n<tr>\n<td>A matching file extension<\/td>\n<td>The URL either has no extension or an extension that matches the actual format.<\/td>\n<\/tr>\n<tr>\n<td>No more than 64 megapixels<\/td>\n<td>Larger images are rejected.<\/td>\n<\/tr>\n<tr>\n<td>No more than 16 MB<\/td>\n<td>Larger files are rejected.<\/td>\n<\/tr>\n<tr>\n<td>A valid URL<\/td>\n<td>ASCII only, <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc3986\">RFC 3986<\/a> compliant, and under 2,000 characters.<\/td>\n<\/tr>\n<tr>\n<td>No added borders<\/td>\n<td>Padding a small image onto a larger canvas isn\u2019t allowed.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n<p>The last point rules out a common shortcut. Padding a small image out to 500&#215;500 can add a border, which Google forbids, or leave the product filling less than 75% of the image, which breaks another requirement. The image itself has to be made larger.<\/p>\n<h2>How Cloudinary Transformations Work<\/h2>\n<p>If you\u2019re new to Cloudinary, the idea is simple: you keep one original of each product image, and Cloudinary generates the versions you need on demand, from instructions you put in the image\u2019s URL. Your originals stay exactly as you uploaded them, so you can try a different version at any time without re-exporting anything.<\/p>\n<p>Every delivery URL follows the same pattern:<\/p>\n<pre class=\"js-syntax-highlighted\"><code>https:\/\/res.cloudinary.com\/&lt;cloud_name&gt;\/image\/upload\/&lt;transformation&gt;\/&lt;public_id&gt;\n<\/code><\/pre>\n<p>The <code>&lt;transformation&gt;<\/code> part is built from short parameters. Each parameter is a code and a value, such as <code>w_300<\/code> for a width of 300 pixels or <code>e_grayscale<\/code> for a black and white effect. Use commas to group parameters that work together as one action into a single component, for example <code>c_fill,g_auto,h_300,w_300<\/code> to crop to a 300&#215;300 square. Use slashes to separate components, and Cloudinary applies them one after another, from left to right.<\/p>\n<p>To see it in action, here is a product photo as uploaded:<\/p>\n<p><cld-code-widget\n      class=\" c-code-widget\"\n      snippets=\"[]\"\n      parsed-url=\"{&quot;url&quot;:&quot;https:\\\/\\\/res.cloudinary.com\\\/demo\\\/image\\\/upload\\\/docs\\\/teapot-product&quot;,&quot;cloud_name&quot;:&quot;demo&quot;,&quot;host&quot;:&quot;res.cloudinary.com&quot;,&quot;type&quot;:&quot;upload&quot;,&quot;resource_type&quot;:&quot;image&quot;,&quot;transformation&quot;:[],&quot;transformation_string&quot;:&quot;&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:null,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;docs\\\/teapot-product&quot;,&quot;extension&quot;:&quot;&quot;,&quot;format&quot;:&quot;&quot;,&quot;format_code&quot;:true,&quot;url_code&quot;:false,&quot;signature&quot;:&quot;&quot;,&quot;private_cdn&quot;:false,&quot;result_asset_type&quot;:&quot;image&quot;}\"\n      with-url=\"true\"\n    >\n      <span class=\"u-visually-hidden\">Loading code examples<\/span>\n    <\/cld-code-widget><a class=\"c-image-link\" href=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/docs\/teapot-product\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/c_scale,w_500\/docs\/teapot-product\" alt=\"Original product photo\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"500\" height=\"342\"\/><\/a><\/p>\n<p>And here is the same photo after adding <code>c_fill,g_auto,h_300,w_300\/e_grayscale<\/code> to the URL. The first component crops it to a 300&#215;300 square around the most interesting part of the image, and the second turns the result black and white:<\/p>\n<p><cld-code-widget\n      class=\" c-code-widget\"\n      snippets=\"[{&quot;sdkId&quot;:&quot;nodejs&quot;,&quot;framework&quot;:&quot;nodejs&quot;,&quot;language&quot;:&quot;nodejs&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(\\&quot;docs\\\/teapot-product\\&quot;, {transformation: [ {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;}, {effect: \\&quot;grayscale\\&quot;} ]})&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(\\&quot;docs\\\/teapot-product\\&quot;, {transformation: [\\n  {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;},\\n  {effect: \\&quot;grayscale\\&quot;}\\n  ]})&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Node.js&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;react_2&quot;,&quot;framework&quot;:&quot;react_2&quot;,&quot;language&quot;:&quot;react&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;React&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/react&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;react&quot;,&quot;framework&quot;:&quot;react&quot;,&quot;language&quot;:&quot;react&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;docs\\\/teapot-product\\&quot; &gt; &lt;Transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;Transformation effect=\\&quot;grayscale\\&quot; \\\/&gt; &lt;\\\/Image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;docs\\\/teapot-product\\&quot; &gt;\\n\\t&lt;Transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;Transformation effect=\\&quot;grayscale\\&quot; \\\/&gt;\\n&lt;\\\/Image&gt;&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;React&quot;,&quot;packageName&quot;:&quot;cloudinary-react&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;vue_2&quot;,&quot;framework&quot;:&quot;vue_2&quot;,&quot;language&quot;:&quot;vue&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Vue.js&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/vue&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;vue&quot;,&quot;framework&quot;:&quot;vue&quot;,&quot;language&quot;:&quot;vue&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;docs\\\/teapot-product\\&quot; &gt; &lt;cld-transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;cld-transformation effect=\\&quot;grayscale\\&quot; \\\/&gt; &lt;\\\/cld-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;docs\\\/teapot-product\\&quot; &gt;\\n\\t&lt;cld-transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation effect=\\&quot;grayscale\\&quot; \\\/&gt;\\n&lt;\\\/cld-image&gt;&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Vue.js&quot;,&quot;packageName&quot;:&quot;cloudinary-vue&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;angular_2&quot;,&quot;framework&quot;:&quot;angular_2&quot;,&quot;language&quot;:&quot;angular&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Angular&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/ng&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;angular&quot;,&quot;framework&quot;:&quot;angular&quot;,&quot;language&quot;:&quot;angular&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;docs\\\/teapot-product\\&quot; &gt; &lt;cl-transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation effect=\\&quot;grayscale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;\\\/cl-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;docs\\\/teapot-product\\&quot; &gt;\\n\\t&lt;cl-transformation gravity=\\&quot;auto\\&quot; height=\\&quot;300\\&quot; width=\\&quot;300\\&quot; crop=\\&quot;fill\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation effect=\\&quot;grayscale\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n&lt;\\\/cl-image&gt;&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Angular&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/angular-5.x&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;js_2&quot;,&quot;framework&quot;:&quot;js_2&quot;,&quot;language&quot;:&quot;js&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;JS&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/url-gen&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;js&quot;,&quot;framework&quot;:&quot;js&quot;,&quot;language&quot;:&quot;js&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.imageTag(&#039;docs\\\/teapot-product&#039;, {transformation: [ {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;}, {effect: \\&quot;grayscale\\&quot;} ]}).toHtml();&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.imageTag(&#039;docs\\\/teapot-product&#039;, {transformation: [\\n  {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;},\\n  {effect: \\&quot;grayscale\\&quot;}\\n  ]}).toHtml();&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;JS&quot;,&quot;packageName&quot;:&quot;cloudinary-core&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;python&quot;,&quot;framework&quot;:&quot;python&quot;,&quot;language&quot;:&quot;python&quot;,&quot;rawCodeSnippet&quot;:&quot;CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;).image(transformation=[ {&#039;gravity&#039;: \\&quot;auto\\&quot;, &#039;height&#039;: 300, &#039;width&#039;: 300, &#039;crop&#039;: \\&quot;fill\\&quot;}, {&#039;effect&#039;: \\&quot;grayscale\\&quot;} ])&quot;,&quot;codeSnippet&quot;:&quot;CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;).image(transformation=[\\n  {&#039;gravity&#039;: \\&quot;auto\\&quot;, &#039;height&#039;: 300, &#039;width&#039;: 300, &#039;crop&#039;: \\&quot;fill\\&quot;},\\n  {&#039;effect&#039;: \\&quot;grayscale\\&quot;}\\n  ])&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Python&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;php_2&quot;,&quot;framework&quot;:&quot;php_2&quot;,&quot;language&quot;:&quot;php&quot;,&quot;rawCodeSnippet&quot;:&quot;(new ImageTag(&#039;docs\\\/teapot-product&#039;))\\n\\t-&gt;resize(Resize::fill()-&gt;width(300)\\n-&gt;height(300)\\n\\t-&gt;gravity(\\n\\tGravity::autoGravity())\\n\\t)\\n\\t-&gt;effect(Effect::grayscale());&quot;,&quot;codeSnippet&quot;:&quot;(new ImageTag(&#039;docs\\\/teapot-product&#039;))\\n\\t-&gt;resize(Resize::fill()-&gt;width(300)\\n-&gt;height(300)\\n\\t-&gt;gravity(\\n\\tGravity::autoGravity())\\n\\t)\\n\\t-&gt;effect(Effect::grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;PHP&quot;,&quot;packageName&quot;:&quot;cloudinary_php&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;3.x&quot;},{&quot;sdkId&quot;:&quot;php&quot;,&quot;framework&quot;:&quot;php&quot;,&quot;language&quot;:&quot;php&quot;,&quot;rawCodeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/teapot-product\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array( array(\\&quot;gravity\\&quot;=&gt;\\&quot;auto\\&quot;, \\&quot;height\\&quot;=&gt;300, \\&quot;width\\&quot;=&gt;300, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;), array(\\&quot;effect\\&quot;=&gt;\\&quot;grayscale\\&quot;) )))&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/teapot-product\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\n  array(\\&quot;gravity\\&quot;=&gt;\\&quot;auto\\&quot;, \\&quot;height\\&quot;=&gt;300, \\&quot;width\\&quot;=&gt;300, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;),\\n  array(\\&quot;effect\\&quot;=&gt;\\&quot;grayscale\\&quot;)\\n  )))&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;PHP&quot;,&quot;packageName&quot;:&quot;cloudinary_php&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;java&quot;,&quot;framework&quot;:&quot;java&quot;,&quot;language&quot;:&quot;java&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation().gravity(\\&quot;auto\\&quot;).height(300).width(300).crop(\\&quot;fill\\&quot;).chain() .effect(\\&quot;grayscale\\&quot;)).imageTag(\\&quot;docs\\\/teapot-product\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation()\\n  .gravity(\\&quot;auto\\&quot;).height(300).width(300).crop(\\&quot;fill\\&quot;).chain()\\n  .effect(\\&quot;grayscale\\&quot;)).imageTag(\\&quot;docs\\\/teapot-product\\&quot;);&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Java&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;ruby&quot;,&quot;framework&quot;:&quot;ruby&quot;,&quot;language&quot;:&quot;ruby&quot;,&quot;rawCodeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/teapot-product\\&quot;, transformation: [ {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;}, {effect: \\&quot;grayscale\\&quot;} ])&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/teapot-product\\&quot;, transformation: [\\n  {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;},\\n  {effect: \\&quot;grayscale\\&quot;}\\n  ])&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Ruby&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;csharp&quot;,&quot;framework&quot;:&quot;csharp&quot;,&quot;language&quot;:&quot;csharp&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation().Gravity(\\&quot;auto\\&quot;).Height(300).Width(300).Crop(\\&quot;fill\\&quot;).Chain() .Effect(\\&quot;grayscale\\&quot;)).BuildImageTag(\\&quot;docs\\\/teapot-product\\&quot;)&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation()\\n  .Gravity(\\&quot;auto\\&quot;).Height(300).Width(300).Crop(\\&quot;fill\\&quot;).Chain()\\n  .Effect(\\&quot;grayscale\\&quot;)).BuildImageTag(\\&quot;docs\\\/teapot-product\\&quot;)&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;.NET&quot;,&quot;packageName&quot;:&quot;CloudinaryDotNet&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;dart&quot;,&quot;framework&quot;:&quot;dart&quot;,&quot;language&quot;:&quot;dart&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/teapot-product&#039;).transformation(Transformation()\\n\\t.resize(Resize.fill().width(300)\\n.height(300)\\n\\t.gravity(\\n\\tGravity.autoGravity())\\n\\t)\\n\\t.effect(Effect.grayscale()));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/teapot-product&#039;).transformation(Transformation()\\n\\t.resize(Resize.fill().width(300)\\n.height(300)\\n\\t.gravity(\\n\\tGravity.autoGravity())\\n\\t)\\n\\t.effect(Effect.grayscale()));&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Dart&quot;,&quot;packageName&quot;:&quot;cloudinary_dart&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;swift&quot;,&quot;framework&quot;:&quot;swift&quot;,&quot;language&quot;:&quot;swift&quot;,&quot;rawCodeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setGravity(\\&quot;auto\\&quot;).setHeight(300).setWidth(300).setCrop(\\&quot;fill\\&quot;).chain() .setEffect(\\&quot;grayscale\\&quot;)).generate(\\&quot;docs\\\/teapot-product\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;codeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\\n  .setGravity(\\&quot;auto\\&quot;).setHeight(300).setWidth(300).setCrop(\\&quot;fill\\&quot;).chain()\\n  .setEffect(\\&quot;grayscale\\&quot;)).generate(\\&quot;docs\\\/teapot-product\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;iOS&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;5.x&quot;},{&quot;sdkId&quot;:&quot;android&quot;,&quot;framework&quot;:&quot;android&quot;,&quot;language&quot;:&quot;android&quot;,&quot;rawCodeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation().gravity(\\&quot;auto\\&quot;).height(300).width(300).crop(\\&quot;fill\\&quot;).chain() .effect(\\&quot;grayscale\\&quot;)).generate(\\&quot;docs\\\/teapot-product\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation()\\n  .gravity(\\&quot;auto\\&quot;).height(300).width(300).crop(\\&quot;fill\\&quot;).chain()\\n  .effect(\\&quot;grayscale\\&quot;)).generate(\\&quot;docs\\\/teapot-product\\&quot;);&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Android&quot;,&quot;packageName&quot;:&quot;cloudinary-android&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;3.x&quot;},{&quot;sdkId&quot;:&quot;flutter&quot;,&quot;framework&quot;:&quot;flutter&quot;,&quot;language&quot;:&quot;flutter&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/teapot-product&#039;).transformation(Transformation()\\n\\t.resize(Resize.fill().width(300)\\n.height(300)\\n\\t.gravity(\\n\\tGravity.autoGravity())\\n\\t)\\n\\t.effect(Effect.grayscale()));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/teapot-product&#039;).transformation(Transformation()\\n\\t.resize(Resize.fill().width(300)\\n.height(300)\\n\\t.gravity(\\n\\tGravity.autoGravity())\\n\\t)\\n\\t.effect(Effect.grayscale()));&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Flutter&quot;,&quot;packageName&quot;:&quot;cloudinary_flutter&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;kotlin&quot;,&quot;framework&quot;:&quot;kotlin&quot;,&quot;language&quot;:&quot;kotlin&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;docs\\\/teapot-product\\&quot;)\\n\\t resize(Resize.fill() { width(300)\\n height(300)\\n\\t gravity(\\n\\tGravity.autoGravity())\\n\\t })\\n\\t effect(Effect.grayscale()) \\n}.generate()&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;docs\\\/teapot-product\\&quot;)\\n\\t resize(Resize.fill() { width(300)\\n height(300)\\n\\t gravity(\\n\\tGravity.autoGravity())\\n\\t })\\n\\t effect(Effect.grayscale()) \\n}.generate()&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;Kotlin&quot;,&quot;packageName&quot;:&quot;kotlin-url-gen&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;jquery&quot;,&quot;framework&quot;:&quot;jquery&quot;,&quot;language&quot;:&quot;jquery&quot;,&quot;rawCodeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;docs\\\/teapot-product\\&quot;, {transformation: [ {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;}, {effect: \\&quot;grayscale\\&quot;} ]})&quot;,&quot;codeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;docs\\\/teapot-product\\&quot;, {transformation: [\\n  {gravity: \\&quot;auto\\&quot;, height: 300, width: 300, crop: \\&quot;fill\\&quot;},\\n  {effect: \\&quot;grayscale\\&quot;}\\n  ]})&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;jQuery&quot;,&quot;packageName&quot;:&quot;cloudinary-jquery&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;react_native&quot;,&quot;framework&quot;:&quot;react_native&quot;,&quot;language&quot;:&quot;react_native&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/teapot-product\\&quot;)\\n  .resize(\\n    fill()\\n      .width(300)\\n      .height(300)\\n      .gravity(autoGravity())\\n  )\\n  .effect(grayscale());&quot;,&quot;status&quot;:0,&quot;statusText&quot;:&quot;Ok&quot;,&quot;displayName&quot;:&quot;React Native&quot;,&quot;packageName&quot;:&quot;cloudinary-react-native&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;}]\"\n      parsed-url=\"{&quot;url&quot;:&quot;https:\\\/\\\/res.cloudinary.com\\\/demo\\\/image\\\/upload\\\/c_fill,g_auto,h_300,w_300\\\/e_grayscale\\\/docs\\\/teapot-product&quot;,&quot;cloud_name&quot;:&quot;demo&quot;,&quot;host&quot;:&quot;res.cloudinary.com&quot;,&quot;type&quot;:&quot;upload&quot;,&quot;resource_type&quot;:&quot;image&quot;,&quot;transformation&quot;:[{&quot;crop_mode&quot;:&quot;fill&quot;,&quot;gravity&quot;:&quot;auto&quot;,&quot;height&quot;:&quot;300&quot;,&quot;width&quot;:&quot;300&quot;},{&quot;effect&quot;:&quot;grayscale&quot;}],&quot;transformation_string&quot;:&quot;c_fill,g_auto,h_300,w_300\\\/e_grayscale&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:null,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;docs\\\/teapot-product&quot;,&quot;extension&quot;:&quot;&quot;,&quot;format&quot;:&quot;&quot;,&quot;format_code&quot;:true,&quot;url_code&quot;:false,&quot;signature&quot;:&quot;&quot;,&quot;private_cdn&quot;:false,&quot;result_asset_type&quot;:&quot;image&quot;}\"\n      with-url=\"true\"\n    >\n      <span class=\"u-visually-hidden\">Loading code examples<\/span>\n    <\/cld-code-widget><a class=\"c-image-link\" href=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/c_fill,g_auto,h_300,w_300\/e_grayscale\/docs\/teapot-product\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/c_fill,g_auto,h_300,w_300\/e_grayscale\/docs\/teapot-product\" alt=\"Product photo cropped to a square and converted to black and white\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"300\" height=\"300\"\/><\/a><\/p>\n<p>The transformation later in this post works the same way. It\u2019s a longer chain of instructions, with a few conditions so that it only changes the images that need it. To explore what else you can do, see <a href=\"https:\/\/cloudinary.com\/documentation\/image_transformations\">Image transformations<\/a>.<\/p>\n<div class='c-callout  c-callout--inline-title c-callout--tip'><strong class='c-callout__title'>Tip:<\/strong> <p>Your images don\u2019t have to live in Cloudinary first. If they\u2019re hosted somewhere else today, Cloudinary can <a href=\"https:\/\/cloudinary.com\/documentation\/fetch_remote_images\">fetch and transform them<\/a> straight from their existing URLs, so you can start without a migration.<\/p><\/div>\n<h2>See How Many Images Are Affected<\/h2>\n<p>You don\u2019t have to find your undersized images before you can fix them. The transformation in the next section only resizes images that fall below the minimum, so you can apply it to every product image URL in your feed and the rest pass through unchanged.<\/p>\n<p>It can still be useful to see the extent of the issue. If only a handful of images are affected, you may decide to fix just those URLs rather than update the whole feed. If it\u2019s thousands, apply the transformation across your whole feed so nothing slips through. You can search your product environment for undersized images in two ways.<\/p>\n<h3>In the Media Library<\/h3>\n<ol>\n<li>\n<p>Click <strong>Assets<\/strong> in the Product Navigation menu.<\/p>\n<\/li>\n<li>\n<p>Enter this expression in the search bar and press Enter:<\/p>\n<pre class=\"js-syntax-highlighted\"><code>resource_type:image AND (width&lt;500 OR height&lt;500)\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>The results are every image where at least one side is under 500 pixels.<\/p>\n<h3>With the Search API<\/h3>\n<p>To list them programmatically, or to export the list, use the <a href=\"https:\/\/cloudinary.com\/documentation\/search_method\">Search API<\/a> with the same <a href=\"https:\/\/cloudinary.com\/documentation\/search_expressions\">search expression<\/a>:<\/p>\n<cld-code-widget\n      class=\" c-code-widget\"\n      snippets=\"[{&quot;sdkId&quot;:&quot;ruby&quot;,&quot;framework&quot;:&quot;ruby&quot;,&quot;language&quot;:&quot;ruby&quot;,&quot;displayName&quot;:&quot;Ruby&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;result = Cloudinary::Search\\n  .expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  .max_results(100)\\n  .execute&quot;,&quot;codeSnippet&quot;:&quot;result = Cloudinary::Search\\n  .expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  .max_results(100)\\n  .execute&quot;},{&quot;sdkId&quot;:&quot;php_2&quot;,&quot;framework&quot;:&quot;php_2&quot;,&quot;language&quot;:&quot;php&quot;,&quot;displayName&quot;:&quot;PHP&quot;,&quot;packageName&quot;:&quot;cloudinary_php&quot;,&quot;packageVersion&quot;:&quot;3.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;$result = $cloudinary-&gt;searchApi()\\n  -&gt;expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  -&gt;maxResults(100)\\n  -&gt;execute();&quot;,&quot;codeSnippet&quot;:&quot;$result = $cloudinary-&gt;searchApi()\\n  -&gt;expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  -&gt;maxResults(100)\\n  -&gt;execute();&quot;},{&quot;sdkId&quot;:&quot;python&quot;,&quot;framework&quot;:&quot;python&quot;,&quot;language&quot;:&quot;python&quot;,&quot;displayName&quot;:&quot;Python&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;result = cloudinary.Search()\\\\\\n  .expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\\\\\n  .max_results(100)\\\\\\n  .execute()&quot;,&quot;codeSnippet&quot;:&quot;result = cloudinary.Search()\\\\\\n  .expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\\\\\n  .max_results(100)\\\\\\n  .execute()&quot;},{&quot;sdkId&quot;:&quot;nodejs&quot;,&quot;framework&quot;:&quot;nodejs&quot;,&quot;language&quot;:&quot;javascript&quot;,&quot;displayName&quot;:&quot;Node.js&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.v2.search\\n  .expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  .max_results(100)\\n  .execute()\\n  .then(result =&gt; console.log(result));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.v2.search\\n  .expression(&#039;resource_type:image AND (width&lt;500 OR height&lt;500)&#039;)\\n  .max_results(100)\\n  .execute()\\n  .then(result =&gt; console.log(result));&quot;},{&quot;sdkId&quot;:&quot;java&quot;,&quot;framework&quot;:&quot;java&quot;,&quot;language&quot;:&quot;java&quot;,&quot;displayName&quot;:&quot;Java&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;result = cloudinary.search()\\n  .expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\n  .maxResults(100)\\n  .execute();&quot;,&quot;codeSnippet&quot;:&quot;result = cloudinary.search()\\n  .expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\n  .maxResults(100)\\n  .execute();&quot;},{&quot;sdkId&quot;:&quot;csharp&quot;,&quot;framework&quot;:&quot;csharp&quot;,&quot;language&quot;:&quot;java&quot;,&quot;displayName&quot;:&quot;.NET&quot;,&quot;packageName&quot;:&quot;CloudinaryDotNet&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;SearchResult result = cloudinary.Search()\\n  .Expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\n  .MaxResults(100)\\n  .Execute();&quot;,&quot;codeSnippet&quot;:&quot;SearchResult result = cloudinary.Search()\\n  .Expression(\\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;)\\n  .MaxResults(100)\\n  .Execute();&quot;},{&quot;sdkId&quot;:&quot;go&quot;,&quot;framework&quot;:&quot;go&quot;,&quot;language&quot;:&quot;go&quot;,&quot;displayName&quot;:&quot;Go&quot;,&quot;packageName&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;resp, err := cld.Admin.Search(ctx, search.Query{\\n    Expression: \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;,\\n    MaxResults: 100})&quot;,&quot;codeSnippet&quot;:&quot;resp, err := cld.Admin.Search(ctx, search.Query{\\n    Expression: \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;,\\n    MaxResults: 100})&quot;},{&quot;sdkId&quot;:&quot;cli&quot;,&quot;framework&quot;:&quot;cli&quot;,&quot;language&quot;:&quot;cli&quot;,&quot;displayName&quot;:&quot;CLI&quot;,&quot;packageName&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;cld search \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot; -n 100&quot;,&quot;codeSnippet&quot;:&quot;cld search \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot; -n 100&quot;},{&quot;sdkId&quot;:&quot;curl&quot;,&quot;framework&quot;:&quot;curl&quot;,&quot;language&quot;:&quot;curl&quot;,&quot;displayName&quot;:&quot;cURL&quot;,&quot;packageName&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;rawCodeSnippet&quot;:&quot;curl \\\\\\n  -H \\&quot;Content-Type: application\\\/json\\&quot; \\\\\\n  -d &#039;{\\n        \\&quot;expression\\&quot;: \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;,\\n        \\&quot;max_results\\&quot;: 100\\n      }&#039; \\\\\\n  https:\\\/\\\/&lt;API_KEY&gt;:&lt;API_SECRET&gt;@api.cloudinary.com\\\/v1_1\\\/&lt;cloud_name&gt;\\\/resources\\\/search&quot;,&quot;codeSnippet&quot;:&quot;curl \\\\\\n  -H \\&quot;Content-Type: application\\\/json\\&quot; \\\\\\n  -d &#039;{\\n        \\&quot;expression\\&quot;: \\&quot;resource_type:image AND (width&lt;500 OR height&lt;500)\\&quot;,\\n        \\&quot;max_results\\&quot;: 100\\n      }&#039; \\\\\\n  https:\\\/\\\/&lt;API_KEY&gt;:&lt;API_SECRET&gt;@api.cloudinary.com\\\/v1_1\\\/&lt;cloud_name&gt;\\\/resources\\\/search&quot;}]\"\n      parsed-url=\"[]\"\n      with-url=\"false\"\n    >\n      <span class=\"u-visually-hidden\">Loading code examples<\/span>\n    <\/cld-code-widget>\n<p>The response includes <code>total_count<\/code>, so you can see the scale of the issue straight away. Narrow the search to the products that are in your feed by adding a tag, folder, or metadata condition, for example <code>AND tags=google_shopping<\/code> or <code>AND asset_folder=products<\/code>.<\/p>\n<h3>Check Your Delivery URLs, Too<\/h3>\n<p>The originals aren\u2019t the only source of small images. Google checks the image your feed URL actually delivers, so a URL that includes <code>w_300<\/code> produces a 300-pixel image even when the original is 3000 pixels wide. Look at the transformations in your feed URLs and any <a href=\"https:\/\/cloudinary.com\/documentation\/named_transformations\">named transformations<\/a> they use. If a named transformation also serves other sites or channels, don\u2019t change it: create a new one for your Google feed instead.<\/p>\n<h2>The Transformation<\/h2>\n<p>This transformation upscales only the images that need it, leaves compliant images at their original size, and keeps every output within Google\u2019s limits:<\/p>\n<pre class=\"js-syntax-highlighted\"><code>$minSide_512\/$maxMp_64000000\/if_w_lt_$minSide_or_h_lt_$minSide\/if_w_lt_h\/c_scale,w_$minSide\/e_unsharp_mask\/if_else\/c_scale,h_$minSide\/e_unsharp_mask\/if_end\/if_end\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\/c_limit,h_16000,w_16000\/f_webp\/q_auto\n<\/code><\/pre>\n<p>Add it to your delivery URL before the public ID:<\/p>\n<pre class=\"js-syntax-highlighted\"><code>https:\/\/res.cloudinary.com\/&lt;cloud_name&gt;\/image\/upload\/&lt;transformation&gt;\/&lt;public_id&gt;\n<\/code><\/pre>\n<p>Here is a 288&#215;180 product image, before the transformation:<\/p>\n<p><cld-code-widget\n      class=\" c-code-widget\"\n      snippets=\"[]\"\n      parsed-url=\"{&quot;url&quot;:&quot;https:\\\/\\\/res.cloudinary.com\\\/demo\\\/image\\\/upload\\\/docs\\\/clutch_bag&quot;,&quot;cloud_name&quot;:&quot;demo&quot;,&quot;host&quot;:&quot;res.cloudinary.com&quot;,&quot;type&quot;:&quot;upload&quot;,&quot;resource_type&quot;:&quot;image&quot;,&quot;transformation&quot;:[],&quot;transformation_string&quot;:&quot;&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:null,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;docs\\\/clutch_bag&quot;,&quot;extension&quot;:&quot;&quot;,&quot;format&quot;:&quot;&quot;,&quot;format_code&quot;:true,&quot;url_code&quot;:false,&quot;signature&quot;:&quot;&quot;,&quot;private_cdn&quot;:false,&quot;result_asset_type&quot;:&quot;image&quot;}\"\n      with-url=\"true\"\n    >\n      <span class=\"u-visually-hidden\">Loading code examples<\/span>\n    <\/cld-code-widget><a class=\"c-image-link\" href=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/docs\/clutch_bag\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/docs\/clutch_bag\" alt=\"Original clutch bag image, 288x180\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"288\" height=\"180\"\/><\/a><\/p>\n<p>And after, at 819&#215;512:<\/p>\n<p><cld-code-widget\n      class=\" c-code-widget\"\n      snippets=\"[{&quot;sdkId&quot;:&quot;nodejs&quot;,&quot;framework&quot;:&quot;nodejs&quot;,&quot;language&quot;:&quot;nodejs&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(\\&quot;docs\\\/clutch_bag\\&quot;, {transformation: [ {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]}, {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]}, {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;}, {if: \\&quot;w_lt_h\\&quot;}, {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;else\\&quot;}, {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;end\\&quot;}, {if: \\&quot;end\\&quot;}, {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;}, {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;}, {fetch_format: \\&quot;webp\\&quot;}, {quality: \\&quot;auto\\&quot;} ]})&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(\\&quot;docs\\\/clutch_bag\\&quot;, {transformation: [\\n  {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]},\\n  {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]},\\n  {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;},\\n  {if: \\&quot;w_lt_h\\&quot;},\\n  {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;},\\n  {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;},\\n  {fetch_format: \\&quot;webp\\&quot;},\\n  {quality: \\&quot;auto\\&quot;}\\n  ]})&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Node.js&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;react_2&quot;,&quot;framework&quot;:&quot;react_2&quot;,&quot;language&quot;:&quot;react&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;React&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/react&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;react&quot;,&quot;framework&quot;:&quot;react&quot;,&quot;language&quot;:&quot;react&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;docs\\\/clutch_bag\\&quot; &gt; &lt;Transformation variables={[[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]} \\\/&gt; &lt;Transformation variables={[[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]} \\\/&gt; &lt;Transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;w_lt_h\\&quot; \\\/&gt; &lt;Transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;Transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;Transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;Transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt; &lt;Transformation fetchFormat=\\&quot;webp\\&quot; \\\/&gt; &lt;Transformation quality=\\&quot;auto\\&quot; \\\/&gt; &lt;\\\/Image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;docs\\\/clutch_bag\\&quot; &gt;\\n\\t&lt;Transformation variables={[[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]} \\\/&gt;\\n\\t&lt;Transformation variables={[[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]} \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;w_lt_h\\&quot; \\\/&gt;\\n\\t&lt;Transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;Transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;Transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;Transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt;\\n\\t&lt;Transformation fetchFormat=\\&quot;webp\\&quot; \\\/&gt;\\n\\t&lt;Transformation quality=\\&quot;auto\\&quot; \\\/&gt;\\n&lt;\\\/Image&gt;&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;React&quot;,&quot;packageName&quot;:&quot;cloudinary-react&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;vue_2&quot;,&quot;framework&quot;:&quot;vue_2&quot;,&quot;language&quot;:&quot;vue&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Vue.js&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/vue&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;vue&quot;,&quot;framework&quot;:&quot;vue&quot;,&quot;language&quot;:&quot;vue&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;docs\\\/clutch_bag\\&quot; &gt; &lt;cld-transformation :variables=\\&quot;[[&#039;$minSide&#039;, &#039;512&#039;]]\\&quot; \\\/&gt; &lt;cld-transformation :variables=\\&quot;[[&#039;$maxMp&#039;, &#039;64000000&#039;]]\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;w_lt_h\\&quot; \\\/&gt; &lt;cld-transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;cld-transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;cld-transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;cld-transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt; &lt;cld-transformation fetch-format=\\&quot;webp\\&quot; \\\/&gt; &lt;cld-transformation quality=\\&quot;auto\\&quot; \\\/&gt; &lt;\\\/cld-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;docs\\\/clutch_bag\\&quot; &gt;\\n\\t&lt;cld-transformation :variables=\\&quot;[[&#039;$minSide&#039;, &#039;512&#039;]]\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation :variables=\\&quot;[[&#039;$maxMp&#039;, &#039;64000000&#039;]]\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;w_lt_h\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation effect=\\&quot;unsharp_mask\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation fetch-format=\\&quot;webp\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation quality=\\&quot;auto\\&quot; \\\/&gt;\\n&lt;\\\/cld-image&gt;&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Vue.js&quot;,&quot;packageName&quot;:&quot;cloudinary-vue&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;angular_2&quot;,&quot;framework&quot;:&quot;angular_2&quot;,&quot;language&quot;:&quot;angular&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Angular&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/ng&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;angular&quot;,&quot;framework&quot;:&quot;angular&quot;,&quot;language&quot;:&quot;angular&quot;,&quot;rawCodeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;docs\\\/clutch_bag\\&quot; &gt; &lt;cl-transformation variables=\\&quot;[[&#039;$minSide&#039;, &#039;512&#039;]]\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation variables=\\&quot;[[&#039;$maxMp&#039;, &#039;64000000&#039;]]\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;w_lt_h\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation effect=\\&quot;unsharp_mask\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;else\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation effect=\\&quot;unsharp_mask\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;end\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;end\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation fetch-format=\\&quot;webp\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation quality=\\&quot;auto\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;\\\/cl-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;docs\\\/clutch_bag\\&quot; &gt;\\n\\t&lt;cl-transformation variables=\\&quot;[[&#039;$minSide&#039;, &#039;512&#039;]]\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation variables=\\&quot;[[&#039;$maxMp&#039;, &#039;64000000&#039;]]\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation if=\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation if=\\&quot;w_lt_h\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation width=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation effect=\\&quot;unsharp_mask\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation if=\\&quot;else\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation height=\\&quot;$minSide\\&quot; crop=\\&quot;scale\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation effect=\\&quot;unsharp_mask\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation if=\\&quot;end\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation if=\\&quot;end\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation width=\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot; crop=\\&quot;limit\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation height=\\&quot;16000\\&quot; width=\\&quot;16000\\&quot; crop=\\&quot;limit\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation fetch-format=\\&quot;webp\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation quality=\\&quot;auto\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n&lt;\\\/cl-image&gt;&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Angular&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/angular-5.x&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;js_2&quot;,&quot;framework&quot;:&quot;js_2&quot;,&quot;language&quot;:&quot;js&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;JS&quot;,&quot;packageName&quot;:&quot;@cloudinary\\\/url-gen&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;js&quot;,&quot;framework&quot;:&quot;js&quot;,&quot;language&quot;:&quot;js&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.imageTag(&#039;docs\\\/clutch_bag&#039;, {transformation: [ {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]}, {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]}, {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;}, {if: \\&quot;w_lt_h\\&quot;}, {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;else\\&quot;}, {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;end\\&quot;}, {if: \\&quot;end\\&quot;}, {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;}, {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;}, {fetchFormat: \\&quot;webp\\&quot;}, {quality: \\&quot;auto\\&quot;} ]}).toHtml();&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.imageTag(&#039;docs\\\/clutch_bag&#039;, {transformation: [\\n  {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]},\\n  {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]},\\n  {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;},\\n  {if: \\&quot;w_lt_h\\&quot;},\\n  {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;},\\n  {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;},\\n  {fetchFormat: \\&quot;webp\\&quot;},\\n  {quality: \\&quot;auto\\&quot;}\\n  ]}).toHtml();&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;JS&quot;,&quot;packageName&quot;:&quot;cloudinary-core&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;python&quot;,&quot;framework&quot;:&quot;python&quot;,&quot;language&quot;:&quot;python&quot;,&quot;rawCodeSnippet&quot;:&quot;CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).image(transformation=[ {&#039;variables&#039;: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]}, {&#039;variables&#039;: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]}, {&#039;if&#039;: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;}, {&#039;if&#039;: \\&quot;w_lt_h\\&quot;}, {&#039;width&#039;: \\&quot;$minSide\\&quot;, &#039;crop&#039;: \\&quot;scale\\&quot;}, {&#039;effect&#039;: \\&quot;unsharp_mask\\&quot;}, {&#039;if&#039;: \\&quot;else\\&quot;}, {&#039;height&#039;: \\&quot;$minSide\\&quot;, &#039;crop&#039;: \\&quot;scale\\&quot;}, {&#039;effect&#039;: \\&quot;unsharp_mask\\&quot;}, {&#039;if&#039;: \\&quot;end\\&quot;}, {&#039;if&#039;: \\&quot;end\\&quot;}, {&#039;width&#039;: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, &#039;crop&#039;: \\&quot;limit\\&quot;}, {&#039;height&#039;: 16000, &#039;width&#039;: 16000, &#039;crop&#039;: \\&quot;limit\\&quot;}, {&#039;fetch_format&#039;: \\&quot;webp\\&quot;}, {&#039;quality&#039;: \\&quot;auto\\&quot;} ])&quot;,&quot;codeSnippet&quot;:&quot;CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).image(transformation=[\\n  {&#039;variables&#039;: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]},\\n  {&#039;variables&#039;: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]},\\n  {&#039;if&#039;: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;},\\n  {&#039;if&#039;: \\&quot;w_lt_h\\&quot;},\\n  {&#039;width&#039;: \\&quot;$minSide\\&quot;, &#039;crop&#039;: \\&quot;scale\\&quot;},\\n  {&#039;effect&#039;: \\&quot;unsharp_mask\\&quot;},\\n  {&#039;if&#039;: \\&quot;else\\&quot;},\\n  {&#039;height&#039;: \\&quot;$minSide\\&quot;, &#039;crop&#039;: \\&quot;scale\\&quot;},\\n  {&#039;effect&#039;: \\&quot;unsharp_mask\\&quot;},\\n  {&#039;if&#039;: \\&quot;end\\&quot;},\\n  {&#039;if&#039;: \\&quot;end\\&quot;},\\n  {&#039;width&#039;: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, &#039;crop&#039;: \\&quot;limit\\&quot;},\\n  {&#039;height&#039;: 16000, &#039;width&#039;: 16000, &#039;crop&#039;: \\&quot;limit\\&quot;},\\n  {&#039;fetch_format&#039;: \\&quot;webp\\&quot;},\\n  {&#039;quality&#039;: \\&quot;auto\\&quot;}\\n  ])&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Python&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;php_2&quot;,&quot;framework&quot;:&quot;php_2&quot;,&quot;language&quot;:&quot;php&quot;,&quot;rawCodeSnippet&quot;:&quot;(new ImageTag(&#039;docs\\\/clutch_bag&#039;))\\n\\t-&gt;addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;(new ImageTag(&#039;docs\\\/clutch_bag&#039;))\\n\\t-&gt;addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;PHP&quot;,&quot;packageName&quot;:&quot;cloudinary_php&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;3.x&quot;},{&quot;sdkId&quot;:&quot;php&quot;,&quot;framework&quot;:&quot;php&quot;,&quot;language&quot;:&quot;php&quot;,&quot;rawCodeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/clutch_bag\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array( array(\\&quot;variables\\&quot;=&gt;array(array(\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;))), array(\\&quot;variables\\&quot;=&gt;array(array(\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;))), array(\\&quot;if\\&quot;=&gt;\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;w_lt_h\\&quot;), array(\\&quot;width\\&quot;=&gt;\\&quot;$minSide\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;), array(\\&quot;effect\\&quot;=&gt;\\&quot;unsharp_mask\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;), array(\\&quot;height\\&quot;=&gt;\\&quot;$minSide\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;), array(\\&quot;effect\\&quot;=&gt;\\&quot;unsharp_mask\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;), array(\\&quot;width\\&quot;=&gt;\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;limit\\&quot;), array(\\&quot;height\\&quot;=&gt;16000, \\&quot;width\\&quot;=&gt;16000, \\&quot;crop\\&quot;=&gt;\\&quot;limit\\&quot;), array(\\&quot;fetch_format\\&quot;=&gt;\\&quot;webp\\&quot;), array(\\&quot;quality\\&quot;=&gt;\\&quot;auto\\&quot;) )))&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/clutch_bag\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\n  array(\\&quot;variables\\&quot;=&gt;array(array(\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;))),\\n  array(\\&quot;variables\\&quot;=&gt;array(array(\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;))),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;w_lt_h\\&quot;),\\n  array(\\&quot;width\\&quot;=&gt;\\&quot;$minSide\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;),\\n  array(\\&quot;effect\\&quot;=&gt;\\&quot;unsharp_mask\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;\\&quot;$minSide\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;),\\n  array(\\&quot;effect\\&quot;=&gt;\\&quot;unsharp_mask\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;),\\n  array(\\&quot;width\\&quot;=&gt;\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, \\&quot;crop\\&quot;=&gt;\\&quot;limit\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;16000, \\&quot;width\\&quot;=&gt;16000, \\&quot;crop\\&quot;=&gt;\\&quot;limit\\&quot;),\\n  array(\\&quot;fetch_format\\&quot;=&gt;\\&quot;webp\\&quot;),\\n  array(\\&quot;quality\\&quot;=&gt;\\&quot;auto\\&quot;)\\n  )))&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;PHP&quot;,&quot;packageName&quot;:&quot;cloudinary_php&quot;,&quot;packageStatus&quot;:&quot;legacy&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;java&quot;,&quot;framework&quot;:&quot;java&quot;,&quot;language&quot;:&quot;java&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation().variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).chain() .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).variables(variable(\\&quot;$maxMp\\&quot;,\\&quot;64000000\\&quot;)).chain() .if(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain() .if(\\&quot;w_lt_h\\&quot;).chain() .width(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain() .effect(\\&quot;unsharp_mask\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain() .effect(\\&quot;unsharp_mask\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).crop(\\&quot;limit\\&quot;).chain() .height(16000).width(16000).crop(\\&quot;limit\\&quot;).chain() .fetchFormat(\\&quot;webp\\&quot;).chain() .quality(\\&quot;auto\\&quot;)).imageTag(\\&quot;docs\\\/clutch_bag\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation()\\n  .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).chain()\\n  .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).variables(variable(\\&quot;$maxMp\\&quot;,\\&quot;64000000\\&quot;)).chain()\\n  .if(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain()\\n  .if(\\&quot;w_lt_h\\&quot;).chain()\\n  .width(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain()\\n  .effect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain()\\n  .effect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).crop(\\&quot;limit\\&quot;).chain()\\n  .height(16000).width(16000).crop(\\&quot;limit\\&quot;).chain()\\n  .fetchFormat(\\&quot;webp\\&quot;).chain()\\n  .quality(\\&quot;auto\\&quot;)).imageTag(\\&quot;docs\\\/clutch_bag\\&quot;);&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Java&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;ruby&quot;,&quot;framework&quot;:&quot;ruby&quot;,&quot;language&quot;:&quot;ruby&quot;,&quot;rawCodeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/clutch_bag\\&quot;, transformation: [ {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]}, {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]}, {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;}, {if: \\&quot;w_lt_h\\&quot;}, {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;else\\&quot;}, {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;end\\&quot;}, {if: \\&quot;end\\&quot;}, {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;}, {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;}, {fetch_format: \\&quot;webp\\&quot;}, {quality: \\&quot;auto\\&quot;} ])&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;docs\\\/clutch_bag\\&quot;, transformation: [\\n  {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]},\\n  {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]},\\n  {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;},\\n  {if: \\&quot;w_lt_h\\&quot;},\\n  {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;},\\n  {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;},\\n  {fetch_format: \\&quot;webp\\&quot;},\\n  {quality: \\&quot;auto\\&quot;}\\n  ])&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Ruby&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;csharp&quot;,&quot;framework&quot;:&quot;csharp&quot;,&quot;language&quot;:&quot;csharp&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation().Variables(\\&quot;$minSide\\&quot;, 512).Chain() .Variables(\\&quot;$maxMp\\&quot;, 64000000).Chain() .If(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).Chain() .If(\\&quot;w_lt_h\\&quot;).Chain() .Width(\\&quot;$minSide\\&quot;).Crop(\\&quot;scale\\&quot;).Chain() .Effect(\\&quot;unsharp_mask\\&quot;).Chain() .If(\\&quot;else\\&quot;).Chain() .Height(\\&quot;$minSide\\&quot;).Crop(\\&quot;scale\\&quot;).Chain() .Effect(\\&quot;unsharp_mask\\&quot;).Chain() .If(\\&quot;end\\&quot;).Chain() .If(\\&quot;end\\&quot;).Chain() .Width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).Crop(\\&quot;limit\\&quot;).Chain() .Height(16000).Width(16000).Crop(\\&quot;limit\\&quot;).Chain() .FetchFormat(\\&quot;webp\\&quot;).Chain() .Quality(\\&quot;auto\\&quot;)).BuildImageTag(\\&quot;docs\\\/clutch_bag\\&quot;)&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation()\\n  .Variables(\\&quot;$minSide\\&quot;, 512).Chain()\\n  .Variables(\\&quot;$maxMp\\&quot;, 64000000).Chain()\\n  .If(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).Chain()\\n  .If(\\&quot;w_lt_h\\&quot;).Chain()\\n  .Width(\\&quot;$minSide\\&quot;).Crop(\\&quot;scale\\&quot;).Chain()\\n  .Effect(\\&quot;unsharp_mask\\&quot;).Chain()\\n  .If(\\&quot;else\\&quot;).Chain()\\n  .Height(\\&quot;$minSide\\&quot;).Crop(\\&quot;scale\\&quot;).Chain()\\n  .Effect(\\&quot;unsharp_mask\\&quot;).Chain()\\n  .If(\\&quot;end\\&quot;).Chain()\\n  .If(\\&quot;end\\&quot;).Chain()\\n  .Width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).Crop(\\&quot;limit\\&quot;).Chain()\\n  .Height(16000).Width(16000).Crop(\\&quot;limit\\&quot;).Chain()\\n  .FetchFormat(\\&quot;webp\\&quot;).Chain()\\n  .Quality(\\&quot;auto\\&quot;)).BuildImageTag(\\&quot;docs\\\/clutch_bag\\&quot;)&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;.NET&quot;,&quot;packageName&quot;:&quot;CloudinaryDotNet&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;dart&quot;,&quot;framework&quot;:&quot;dart&quot;,&quot;language&quot;:&quot;dart&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/clutch_bag&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/clutch_bag&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;));&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Dart&quot;,&quot;packageName&quot;:&quot;cloudinary_dart&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;swift&quot;,&quot;framework&quot;:&quot;swift&quot;,&quot;language&quot;:&quot;swift&quot;,&quot;rawCodeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().chain() .chain() .setIf(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain() .setIf(\\&quot;w_lt_h\\&quot;).chain() .setWidth(\\&quot;$minSide\\&quot;).setCrop(\\&quot;scale\\&quot;).chain() .setEffect(\\&quot;unsharp_mask\\&quot;).chain() .setIf(\\&quot;else\\&quot;).chain() .setHeight(\\&quot;$minSide\\&quot;).setCrop(\\&quot;scale\\&quot;).chain() .setEffect(\\&quot;unsharp_mask\\&quot;).chain() .setIf(\\&quot;end\\&quot;).chain() .setIf(\\&quot;end\\&quot;).chain() .setWidth(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).setCrop(\\&quot;limit\\&quot;).chain() .setHeight(16000).setWidth(16000).setCrop(\\&quot;limit\\&quot;).chain() .setFetchFormat(\\&quot;webp\\&quot;).chain() .setQuality(\\&quot;auto\\&quot;)).generate(\\&quot;docs\\\/clutch_bag\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;codeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\\n  .chain()\\n  .chain()\\n  .setIf(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain()\\n  .setIf(\\&quot;w_lt_h\\&quot;).chain()\\n  .setWidth(\\&quot;$minSide\\&quot;).setCrop(\\&quot;scale\\&quot;).chain()\\n  .setEffect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .setIf(\\&quot;else\\&quot;).chain()\\n  .setHeight(\\&quot;$minSide\\&quot;).setCrop(\\&quot;scale\\&quot;).chain()\\n  .setEffect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .setIf(\\&quot;end\\&quot;).chain()\\n  .setIf(\\&quot;end\\&quot;).chain()\\n  .setWidth(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).setCrop(\\&quot;limit\\&quot;).chain()\\n  .setHeight(16000).setWidth(16000).setCrop(\\&quot;limit\\&quot;).chain()\\n  .setFetchFormat(\\&quot;webp\\&quot;).chain()\\n  .setQuality(\\&quot;auto\\&quot;)).generate(\\&quot;docs\\\/clutch_bag\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;iOS&quot;,&quot;packageName&quot;:&quot;cloudinary&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;5.x&quot;},{&quot;sdkId&quot;:&quot;android&quot;,&quot;framework&quot;:&quot;android&quot;,&quot;language&quot;:&quot;android&quot;,&quot;rawCodeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation().variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).chain() .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).variables(variable(\\&quot;$maxMp\\&quot;,\\&quot;64000000\\&quot;)).chain() .if(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain() .if(\\&quot;w_lt_h\\&quot;).chain() .width(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain() .effect(\\&quot;unsharp_mask\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain() .effect(\\&quot;unsharp_mask\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).crop(\\&quot;limit\\&quot;).chain() .height(16000).width(16000).crop(\\&quot;limit\\&quot;).chain() .fetchFormat(\\&quot;webp\\&quot;).chain() .quality(\\&quot;auto\\&quot;)).generate(\\&quot;docs\\\/clutch_bag\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation()\\n  .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).chain()\\n  .variables(variable(\\&quot;$minSide\\&quot;,\\&quot;512\\&quot;)).variables(variable(\\&quot;$maxMp\\&quot;,\\&quot;64000000\\&quot;)).chain()\\n  .if(\\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;).chain()\\n  .if(\\&quot;w_lt_h\\&quot;).chain()\\n  .width(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain()\\n  .effect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(\\&quot;$minSide\\&quot;).crop(\\&quot;scale\\&quot;).chain()\\n  .effect(\\&quot;unsharp_mask\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .width(\\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;).crop(\\&quot;limit\\&quot;).chain()\\n  .height(16000).width(16000).crop(\\&quot;limit\\&quot;).chain()\\n  .fetchFormat(\\&quot;webp\\&quot;).chain()\\n  .quality(\\&quot;auto\\&quot;)).generate(\\&quot;docs\\\/clutch_bag\\&quot;);&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Android&quot;,&quot;packageName&quot;:&quot;cloudinary-android&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;3.x&quot;},{&quot;sdkId&quot;:&quot;flutter&quot;,&quot;framework&quot;:&quot;flutter&quot;,&quot;language&quot;:&quot;flutter&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/clutch_bag&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;docs\\\/clutch_bag&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;));&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Flutter&quot;,&quot;packageName&quot;:&quot;cloudinary_flutter&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;kotlin&quot;,&quot;framework&quot;:&quot;kotlin&quot;,&quot;language&quot;:&quot;kotlin&quot;,&quot;rawCodeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;docs\\\/clutch_bag\\&quot;)\\n\\t addTransformation(\\&quot;\\\\$minSide_512\\\/\\\\$maxMp_64000000\\\/if_w_lt_\\\\$minSide_or_h_lt_\\\\$minSide\\\/if_w_lt_h\\\/c_scale,w_\\\\$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_\\\\$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_\\\\$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;) \\n}.generate()&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;docs\\\/clutch_bag\\&quot;)\\n\\t addTransformation(\\&quot;\\\\$minSide_512\\\/\\\\$maxMp_64000000\\\/if_w_lt_\\\\$minSide_or_h_lt_\\\\$minSide\\\/if_w_lt_h\\\/c_scale,w_\\\\$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_\\\\$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_\\\\$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;) \\n}.generate()&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;Kotlin&quot;,&quot;packageName&quot;:&quot;kotlin-url-gen&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;},{&quot;sdkId&quot;:&quot;jquery&quot;,&quot;framework&quot;:&quot;jquery&quot;,&quot;language&quot;:&quot;jquery&quot;,&quot;rawCodeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;docs\\\/clutch_bag\\&quot;, {transformation: [ {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]}, {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]}, {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;}, {if: \\&quot;w_lt_h\\&quot;}, {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;else\\&quot;}, {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;}, {effect: \\&quot;unsharp_mask\\&quot;}, {if: \\&quot;end\\&quot;}, {if: \\&quot;end\\&quot;}, {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;}, {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;}, {fetch_format: \\&quot;webp\\&quot;}, {quality: \\&quot;auto\\&quot;} ]})&quot;,&quot;codeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;docs\\\/clutch_bag\\&quot;, {transformation: [\\n  {variables: [[\\&quot;$minSide\\&quot;, \\&quot;512\\&quot;]]},\\n  {variables: [[\\&quot;$maxMp\\&quot;, \\&quot;64000000\\&quot;]]},\\n  {if: \\&quot;w_lt_$minSide_or_h_lt_$minSide\\&quot;},\\n  {if: \\&quot;w_lt_h\\&quot;},\\n  {width: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: \\&quot;$minSide\\&quot;, crop: \\&quot;scale\\&quot;},\\n  {effect: \\&quot;unsharp_mask\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {width: \\&quot;$maxMp * 0.99 * w \\\/ h_pow_0.5\\&quot;, crop: \\&quot;limit\\&quot;},\\n  {height: 16000, width: 16000, crop: \\&quot;limit\\&quot;},\\n  {fetch_format: \\&quot;webp\\&quot;},\\n  {quality: \\&quot;auto\\&quot;}\\n  ]})&quot;,&quot;status&quot;:51,&quot;statusText&quot;:&quot;Ruby code_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;jQuery&quot;,&quot;packageName&quot;:&quot;cloudinary-jquery&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;2.x&quot;},{&quot;sdkId&quot;:&quot;react_native&quot;,&quot;framework&quot;:&quot;react_native&quot;,&quot;language&quot;:&quot;react_native&quot;,&quot;rawCodeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;docs\\\/clutch_bag\\&quot;).addTransformation(\\n  \\&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\&quot;\\n);&quot;,&quot;status&quot;:50,&quot;statusText&quot;:&quot;Ruby action_generator_failed_unexpectedly&quot;,&quot;displayName&quot;:&quot;React Native&quot;,&quot;packageName&quot;:&quot;cloudinary-react-native&quot;,&quot;packageStatus&quot;:&quot;&quot;,&quot;packageVersion&quot;:&quot;1.x&quot;}]\"\n      parsed-url=\"{&quot;url&quot;:&quot;https:\\\/\\\/res.cloudinary.com\\\/demo\\\/image\\\/upload\\\/$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto\\\/docs\\\/clutch_bag&quot;,&quot;cloud_name&quot;:&quot;demo&quot;,&quot;host&quot;:&quot;res.cloudinary.com&quot;,&quot;type&quot;:&quot;upload&quot;,&quot;resource_type&quot;:&quot;image&quot;,&quot;transformation&quot;:[{&quot;$minSide&quot;:&quot;512&quot;},{&quot;$maxMp&quot;:&quot;64000000&quot;},{&quot;if&quot;:&quot;w_lt_$minSide_or_h_lt_$minSide&quot;},{&quot;if&quot;:&quot;w_lt_h&quot;},{&quot;crop_mode&quot;:&quot;scale&quot;,&quot;width&quot;:&quot;$minSide&quot;},{&quot;effect&quot;:&quot;unsharp_mask&quot;},{&quot;if&quot;:&quot;else&quot;},{&quot;crop_mode&quot;:&quot;scale&quot;,&quot;height&quot;:&quot;$minSide&quot;},{&quot;effect&quot;:&quot;unsharp_mask&quot;},{&quot;if&quot;:&quot;end&quot;},{&quot;if&quot;:&quot;end&quot;},{&quot;crop_mode&quot;:&quot;limit&quot;,&quot;width&quot;:&quot;$maxMp_mul_0.99_mul_w_div_h_pow_0.5&quot;},{&quot;crop_mode&quot;:&quot;limit&quot;,&quot;height&quot;:&quot;16000&quot;,&quot;width&quot;:&quot;16000&quot;},{&quot;format&quot;:&quot;webp&quot;},{&quot;quality&quot;:&quot;auto&quot;}],&quot;transformation_string&quot;:&quot;$minSide_512\\\/$maxMp_64000000\\\/if_w_lt_$minSide_or_h_lt_$minSide\\\/if_w_lt_h\\\/c_scale,w_$minSide\\\/e_unsharp_mask\\\/if_else\\\/c_scale,h_$minSide\\\/e_unsharp_mask\\\/if_end\\\/if_end\\\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\\\/c_limit,h_16000,w_16000\\\/f_webp\\\/q_auto&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:null,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;docs\\\/clutch_bag&quot;,&quot;extension&quot;:&quot;&quot;,&quot;format&quot;:&quot;webp&quot;,&quot;format_code&quot;:true,&quot;url_code&quot;:false,&quot;signature&quot;:&quot;&quot;,&quot;private_cdn&quot;:false,&quot;result_asset_type&quot;:&quot;image&quot;,&quot;error&quot;:{}}\"\n      with-url=\"true\"\n    >\n      <span class=\"u-visually-hidden\">Loading code examples<\/span>\n    <\/cld-code-widget><a class=\"c-image-link\" href=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/$minSide_512\/$maxMp_64000000\/if_w_lt_$minSide_or_h_lt_$minSide\/if_w_lt_h\/c_scale,w_$minSide\/e_unsharp_mask\/if_else\/c_scale,h_$minSide\/e_unsharp_mask\/if_end\/if_end\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\/c_limit,h_16000,w_16000\/f_webp\/q_auto\/docs\/clutch_bag\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/$minSide_512\/$maxMp_64000000\/if_w_lt_$minSide_or_h_lt_$minSide\/if_w_lt_h\/c_scale,w_$minSide\/e_unsharp_mask\/if_else\/c_scale,h_$minSide\/e_unsharp_mask\/if_end\/if_end\/c_limit,w_$maxMp_mul_0.99_mul_w_div_h_pow_0.5\/c_limit,h_16000,w_16000\/f_webp\/q_auto\/docs\/clutch_bag\" alt=\"Clutch bag image upscaled for Google Merchant Center\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"819\" height=\"512\"\/><\/a><\/p>\n<h3>How It Works<\/h3>\n<ul>\n<li>\n<strong>Two variables at the front.<\/strong> <code>$minSide<\/code> (512) is the size the short side is scaled to, and <code>$maxMp<\/code> (64000000) is the pixel cap. Change them in one place rather than hunting through the string.<\/li>\n<li>\n<strong>512 instead of 500.<\/strong> Google says \u201cat least 500\u201d and may test with subtle cropping. A 512 target leaves a small margin, and it also absorbs upstream exports that round down to 499. It also keeps the upscale modest, because larger targets add pixels without adding detail.<\/li>\n<li>\n<strong>A conditional resize.<\/strong> The <code>if<\/code> conditions check whether either side is under <code>$minSide<\/code>. If so, a nested condition finds the shorter side and scales it to exactly <code>$minSide<\/code> with <code>c_scale<\/code>, keeping the aspect ratio. Images that are already large enough skip the resize and the sharpening entirely.<\/li>\n<li>\n<strong>Light sharpening.<\/strong> <code>e_unsharp_mask<\/code> after the upscale restores some of the crispness that plain scaling softens. The result looks closer to the original than plain scaling alone. The chain uses the default strength of 100. To make the effect stronger or softer, add a strength between 1 and 2000, for example <code>e_unsharp_mask:200<\/code>, in both places it appears in the string. See <a href=\"https:\/\/cloudinary.com\/documentation\/transformation_reference#e_unsharp_mask\">e_unsharp_mask<\/a> for details.<\/li>\n<li>\n<strong>A cap on total pixels (64 MP).<\/strong> Google rejects images over 64 megapixels. The first <code>c_limit<\/code> calculates the widest image that stays just under that limit (99% of <code>$maxMp<\/code>, to allow for rounding), keeping the aspect ratio. <code>c_limit<\/code> only ever shrinks an image, so images already under the limit are left alone, and no condition is needed.<\/li>\n<li>\n<strong>A cap on each side (16,000 pixels).<\/strong> The second <code>c_limit<\/code> is a separate safeguard, and it isn\u2019t about Google. The WebP format can\u2019t store an image more than 16,383 pixels wide or tall. A very wide banner can be far below 64 MP and still exceed that, so the pixel cap alone wouldn\u2019t catch it. Without this limit, the image fails to deliver.<\/li>\n<li>\n<strong>WebP for every output.<\/strong> The output format has to be the same for every image, because a condition can\u2019t check the format of the source file. WebP is the best single choice: it keeps transparency, converts formats Google doesn\u2019t accept (such as AVIF), and keeps files small. Even a 64 MP image stays well under Google\u2019s 16 MB limit as WebP.<\/li>\n<li>\n<strong>Automatic quality.<\/strong> <code>q_auto<\/code> lets Cloudinary choose the compression level for each image, balancing visual quality against file size.<\/li>\n<\/ul>\n<div class='c-callout  c-callout--inline-title c-callout--note'><strong class='c-callout__title'>Note:<\/strong> <p>Because the output is always WebP, JPEG and PNG sources are converted too. Google doesn\u2019t require that change, but a transformation can\u2019t read the source format, and PNG output for large transparent images can exceed the 16 MB limit.<\/p><\/div>\n<h3>Reaching Google\u2019s Recommended 1500&#215;1500<\/h3>\n<p>The transformation targets the minimum requirement. If you want to go further toward Google\u2019s recommended size, you can raise <code>$minSide<\/code>. Keep in mind that upscaling adds pixels, not detail, so a larger target doesn\u2019t make the image look better.<\/p>\n<h2>Limits to Be Aware Of<\/h2>\n<ul>\n<li>\n<strong>Plan output limits.<\/strong> Some plans limit the output image size (for example, 25 MP). If yours does, set <code>$maxMp<\/code> to that limit. Otherwise, a source above the limit fails before the cap can shrink it.<\/li>\n<li>\n<strong>No pass-through of original bytes.<\/strong> An image that\u2019s already compliant isn\u2019t resized, but it\u2019s re-encoded once as WebP with automatic quality (<code>q_auto<\/code>).<\/li>\n<li>\n<strong>Very small sources.<\/strong> Sharpening has no measurable effect on sources under roughly 120 pixels. They\u2019re still scaled up to the minimum size, but scaling can\u2019t add detail that isn\u2019t in the original, so a very small image looks soft at 512 pixels. If your originals are that small and you\u2019re comfortable with AI-generated detail, you can add <a href=\"https:\/\/cloudinary.com\/documentation\/transformation_reference#e_upscale\">e_upscale<\/a> at the start of the chain. It uses AI to predict extra detail and scales each dimension by four, so the result can look sharper. The trade-off is that the extra detail is AI-generated, so the image may show details your real product doesn\u2019t have, which could mislead shoppers. It also uses more transformation credits than a plain resize, and it doesn\u2019t preserve transparency, so a transparent background becomes white. For other limitations, see the notes in <a href=\"https:\/\/cloudinary.com\/documentation\/image_upscaling_and_downscaling#upscaling_with_super_resolution\">Upscaling with super resolution<\/a>. Review the results before you publish them to your feed.<\/li>\n<li>\n<strong>File size isn\u2019t checked per image.<\/strong> No property exposes file size, so the 16 MB limit is met through the 64 MP cap and WebP\u2019s compression, not a per-image test.<\/li>\n<li>\n<strong>Keep the nested condition intact.<\/strong> Don\u2019t insert components before the inner <code>if<\/code>, or the nested condition stops matching.<\/li>\n<\/ul>\n<h2>Update Your Feed and Let Google Re-fetch Your Images<\/h2>\n<p>Applying the transformation isn\u2019t the last step. Two things need to happen before January 31, 2027:<\/p>\n<ol>\n<li>\n<strong>Update the image URLs in your product feed.<\/strong> The URLs in the feed you share with Google can differ from the ones your website uses. If you only change your site, Google keeps fetching the old, undersized images.<\/li>\n<li>\n<strong>Give Google time to re-fetch the images.<\/strong> Even after the feed is updated, Google\u2019s crawler has to fetch the new images before the products are re-evaluated.<\/li>\n<\/ol>\n<p>Both steps need to be complete ahead of the deadline, so don\u2019t leave them to the last week.<\/p>\n<p>A practical way to make the change in one place is to save the transformation as a <a href=\"https:\/\/cloudinary.com\/documentation\/named_transformations\">named transformation<\/a> and reference it from your feed URLs. Create a new one for the Google feed rather than editing one that other sites or channels also use, because changing a named transformation affects every URL that references it.<\/p>\n<h2>Next Steps<\/h2>\n<ol>\n<li>Optional: search for your undersized images to see how many are affected.<\/li>\n<li>Check the transformations in your feed URLs for any that downscale below 500 pixels.<\/li>\n<li>Add the transformation to the image URLs in your Google Merchant Center feed, either for every image or only for the ones you found.<\/li>\n<li>Check a sample of results against the requirements above.<\/li>\n<li>Submit the updated feed, wait for Google\u2019s crawler to fetch the new images, and confirm in Merchant Center that the warnings clear.<\/li>\n<\/ol>\n<div class='c-callout  c-callout--reading-list'><strong class='c-callout__title'>Related Topics<\/strong> <p>Learn more about the transformation features used here:<\/p>\n<ul>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/conditional_transformations\">Conditional transformations<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/user_defined_variables\">User-defined variables<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/resizing_and_cropping\">Resizing and cropping images<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/image_optimization#how_to_optimize_image_format\">Image formats<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/search_expressions\">Search expressions<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/documentation\/upload_images\">Upload images<\/a>\n<\/li>\n<\/ul><\/div>\n<div class='c-callout  c-callout--note'><strong class='c-callout__title'>New to Cloudinary?<\/strong> <p><a href=\"https:\/\/cloudinary.com\/users\/register_free\">Sign up for a free account<\/a> to upload your product images and try the transformation on your own catalog before the deadline. If you\u2019re ready to get started, the <a href=\"https:\/\/cloudinary.com\/documentation\/dev_kickstart\">Developer kickstart<\/a> shows you how to set up your product environment and upload your first images. If you work with an AI coding assistant, the <a href=\"https:\/\/cloudinary.com\/documentation\/ai_powerstart\">AI Power Start<\/a> page gives you a single prompt that installs the right SDK, sets up your credentials, and configures Cloudinary\u2019s AI tools for you. The <a href=\"https:\/\/cloudinary.com\/documentation\/cloudinary_llm_mcp#cloudinary_skills\">cloudinary-transformations skill<\/a> also helps your assistant write correct transformation URLs, such as the one in this post.<\/p><\/div>\n<\/div>\n\n\n<style>\n.faqs {\n    padding: 30px 60px;\n    margin-top: 40px;\n    background: var(--color-background-offset);\n    border-radius: 20px;\n}\n\n#frequently_asked_questions {\n    margin-bottom: 20px;\n}\n\n.question {\n    margin-bottom: 12px;\n    border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n}\n\n.question summary {\n    position: relative;\n    padding: 18px 40px 18px 0;\n    cursor: pointer;\n    font-weight: 700;\n    list-style: none;\n}\n\n.question summary::-webkit-details-marker {\n    display: none;\n}\n\n.question summary::after {\n    content: \"+\";\n    position: absolute;\n    top: 50%;\n    right: 0;\n    transform: translateY(-50%);\n    font-size: 24px;\n    font-weight: 400;\n    line-height: 1;\n}\n\n.question[open] summary::after {\n    content: \"\u2212\";\n}\n\n.answer {\n    padding: 0 40px 20px 0;\n}\n<\/style>\n\n<div class=\"faqs\">\n\n<h2 id=\"frequently_asked_questions\">Frequently Asked Questions<\/h2>\n\n<details class=\"question\">\n    <summary>Do all images need resizing?<\/summary>\n    <div class=\"answer\">No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest at their original size.<\/div>\n<\/details>\n\n<details class=\"question\">\n    <summary>Does this change the original files?<\/summary>\n    <div class=\"answer\">No. Cloudinary creates the larger version when the URL is requested, so your originals stay unchanged. Only the images you point Google at change.<\/div>\n<\/details>\n\n<details class=\"question\">\n    <summary>What about the 1500&#215;1500 recommendation?<\/summary>\n    <div class=\"answer\">It&#8217;s a recommendation, not a requirement, and the transformation targets the requirement. Where you can, upload higher-resolution originals for your best-selling products, because upscaling can&#8217;t add detail that isn&#8217;t in the source.<\/div>\n<\/details>\n\n<details class=\"question\">\n    <summary>Does the image have to fill the frame?<\/summary>\n    <div class=\"answer\">Google also recommends that the product takes up 75% to 90% of the image. The transformation doesn&#8217;t change how the product sits in the frame, so check your originals as well. If a product is framed too loosely, you can re-export it with tighter framing, or crop it in the same URL before the chain using a <a href=\"https:\/\/cloudinary.com\/documentation\/image_crop_modes\" target=\"_blank\" rel=\"noopener\">crop mode<\/a>.<\/div>\n<\/details>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest at their original size. Does this change the original files? No. Cloudinary creates the larger version when the URL is requested, so your originals stay unchanged. Only the images [&hellip;]<\/p>\n","protected":false},"author":87,"featured_media":40692,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[332,370,165],"class_list":["post-40685","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-api","tag-image","tag-image-transformation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.3 (Yoast SEO v28.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Fix Undersized Images for Google Merchant Center<\/title>\n<meta name=\"description\" content=\"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Keep Your Products on Google: Fix Undersized Images With One Transformation\" \/>\n<meta property=\"og:description\" content=\"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-17T20:35:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"melindapham\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation\"},\"author\":{\"name\":\"melindapham\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#\\\/schema\\\/person\\\/0d5ad601e4c3b5be89245dfb14be42d9\"},\"headline\":\"Keep Your Products on Google: Fix Undersized Images With One Transformation\",\"datePublished\":\"2026-11-17T20:35:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation\"},\"wordCount\":176,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1794947081\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA\",\"keywords\":[\"API\",\"Image\",\"Image Transformation\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2026\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation\",\"url\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation\",\"name\":\"Fix Undersized Images for Google Merchant Center\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1794947081\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA\",\"datePublished\":\"2026-11-17T20:35:19+00:00\",\"description\":\"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#primaryimage\",\"url\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1794947081\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA\",\"contentUrl\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1794947081\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\\\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA\",\"width\":2000,\"height\":1100},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/google-undersized-images-transformation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudinary.com\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Keep Your Products on Google: Fix Undersized Images With One Transformation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1649718331\\\/Web_Assets\\\/blog\\\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\\\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\\\/\\\/res.cloudinary.com\\\/cloudinary-marketing\\\/images\\\/f_auto,q_auto\\\/v1649718331\\\/Web_Assets\\\/blog\\\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\\\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudinary.com\\\/blog\\\/#\\\/schema\\\/person\\\/0d5ad601e4c3b5be89245dfb14be42d9\",\"name\":\"melindapham\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g\",\"caption\":\"melindapham\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Fix Undersized Images for Google Merchant Center","description":"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","og_locale":"en_US","og_type":"article","og_title":"Keep Your Products on Google: Fix Undersized Images With One Transformation","og_description":"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest","og_url":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","og_site_name":"Cloudinary Blog","article_published_time":"2026-11-17T20:35:19+00:00","og_image":[{"width":2000,"height":1100,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","type":"image\/png"}],"author":"melindapham","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation"},"author":{"name":"melindapham","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/0d5ad601e4c3b5be89245dfb14be42d9"},"headline":"Keep Your Products on Google: Fix Undersized Images With One Transformation","datePublished":"2026-11-17T20:35:19+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation"},"wordCount":176,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","keywords":["API","Image","Image Transformation"],"inLanguage":"en-US","copyrightYear":"2026","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","url":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","name":"Fix Undersized Images for Google Merchant Center","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","datePublished":"2026-11-17T20:35:19+00:00","description":"Frequently Asked Questions Do all images need resizing? No. The transformation only acts on images where a side is under 500 pixels, and leaves the rest","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","width":2000,"height":1100},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog"},{"@type":"ListItem","position":2,"name":"Keep Your Products on Google: Fix Undersized Images With One Transformation"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/0d5ad601e4c3b5be89245dfb14be42d9","name":"melindapham","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e6f989fa97fe94be61596259d8629c3df65aec4c7da5c0000f90d810f313d4f4?s=96&d=mm&r=g","caption":"melindapham"}}]}},"parsely":{"version":"1.1.0","canonical_url":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","meta":{"@context":"https:\/\/schema.org","@type":"NewsArticle","headline":"Keep Your Products on Google: Fix Undersized Images With One Transformation","url":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation","mainEntityOfPage":{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA&w=150&h=150&crop=1","image":{"@type":"ImageObject","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA"},"articleSection":"Uncategorized","author":[{"@type":"Person","name":"melindapham"}],"creator":["melindapham"],"publisher":{"@type":"Organization","name":"Cloudinary Blog","logo":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA"},"keywords":["api","image","image transformation"],"dateCreated":"2026-11-17T20:35:19Z","datePublished":"2026-11-17T20:35:19Z","dateModified":"2026-11-17T20:35:19Z"},"rendered":"<meta name=\"parsely-title\" content=\"Keep Your Products on Google: Fix Undersized Images With One Transformation\" \/>\n<meta name=\"parsely-link\" content=\"https:\/\/cloudinary.com\/blog\/google-undersized-images-transformation\" \/>\n<meta name=\"parsely-type\" content=\"post\" \/>\n<meta name=\"parsely-image-url\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA&w=150&amp;h=150&amp;crop=1\" \/>\n<meta name=\"parsely-pub-date\" content=\"2026-11-17T20:35:19Z\" \/>\n<meta name=\"parsely-section\" content=\"Uncategorized\" \/>\n<meta name=\"parsely-tags\" content=\"api,image,image transformation\" \/>\n<meta name=\"parsely-author\" content=\"melindapham\" \/>","tracker_url":"https:\/\/cdn.parsely.com\/keys\/cloudinary.com\/p.js"},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1794947081\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation\/Blog_Keep_your_products_on_Google__fix_undersized_images_with_one_transformation.png?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/40685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=40685"}],"version-history":[{"count":3,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/40685\/revisions"}],"predecessor-version":[{"id":40695,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/40685\/revisions\/40695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/40692"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=40685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=40685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=40685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}