{"id":21622,"date":"2017-11-06T18:45:38","date_gmt":"2017-11-06T18:45:38","guid":{"rendered":"http:\/\/are_your_website_images_ready_to_embrace_the_iphone_x_notch"},"modified":"2022-09-23T10:16:06","modified_gmt":"2022-09-23T17:16:06","slug":"are_your_website_images_ready_to_embrace_the_iphone_x_notch","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch","title":{"rendered":"Are your website images ready to embrace the iPhone X notch?"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>The announcement of the iPhone 8, 8 plus and the iPhone X at the iPhone 10th anniversary Apple event on 12th September 2017, came with a massive buzz.<\/p>\n<p>The iPhone X (pronounced \u201ciPhone 10\u201d) has a 5.8-inch super retina screen, which stands out amongst other  Apples, giving the <em>machine<\/em> the tagline \u201cit is all screen\u201d. A resolution of 2436 x 1125 is also featured, making it the highest resolution iPhone to date.<\/p>\n<p>Since the announcement, designers and prototypers have obviously been working in full gear to carve out products and designs to match the upcoming iPhone X.<\/p>\n<h2>That Notch<\/h2>\n<p>This is arguably one of the fascinating features of the iPhone X! (and the wonderful portrait above too). The Notch up top. Bold, elegant, has the flows around it and still fascinating, even though the guy in the portrait below doesn\u2019t seem so thrilled.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_200,c_fill\/dpr_auto\/iphone_x_hair_line.jpg\" alt=\"One Notch to Rule All\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"400\" height=\"524\"\/><\/p>\n<p>We have to find a way to make him happy, how to make the notch really beautiful and useful for our images. Let\u2019s do this with Cloudinary image transformation tools.<\/p>\n<p>The iPhone X screen is unique in that the dark space (notch) that houses the camera and other sensors are actually part of the hard glass screen and content displayed flows around this notch. This is a very important aspect to consider in the UI\/UX design of products to fit the <em>all screen<\/em> iPhone. In this article, we will discuss a way to <em>fix<\/em> your images, testing how it would look on the iPhone X.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_300,c_fill\/dpr_auto\/iphonexdesign.jpg\" alt=\"spot the notch on top\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"600\" height=\"502\"\/><\/p>\n<h2>How do you work with that screen?<\/h2>\n<p>Image management and transformation can be done on-the-fly with Cloudinary. And when I say <em>on-the-fly,<\/em>  that means that images are transformed using dynamic delivery of their URLs!<\/p>\n<p>Cloudinary also offers mobile-first image optimization for mobile design and the best part, it\u2019s easy to use. These images are cached on the CDN and are immediately available upon request.<\/p>\n<p>Cloudinary\u2019s image management and transformation service will be used in this article to simulate how images fit on the iPhone X screen. With this, you can test your images and products to see how well they fit on this new type of screenX.<\/p>\n<p>Before we begin, let\u2019s have a look at the sample image we will be transforming.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_300,c_fill\/dpr_auto\/Spencer_Watson.jpg\" alt=\"image manipulation\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"600\" height=\"800\"\/><\/p>\n<h2>Transform the image<\/h2>\n<p>To perform this test, you need  the <a href=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_300,c_fill,fl_attachment\/iphone_x_notch.png\">notch image<\/a>.\n<img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_300,c_fill\/iphone_x_notch.png\" alt=\"iphone_x_notch overlay\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"300\" height=\"44\"\/><\/p>\n<p>Next, upload the image to be transformed. In our case, we uploaded the overhead swimming pool image displayed above.<\/p>\n<p>Now we need to apply the transformation. Images in Cloudinary take the form of:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml shcb-wrap-lines\">https:\/\/res.cloudinary.com\/<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">cloud_name<\/span>&gt;<\/span>\/image\/upload\/<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">transformation_parameters<\/span>&gt;<\/span>\/<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">public_ID<\/span>&gt;<\/span>.<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">image_format_file_extension<\/span>&gt;<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>So to adjust the swimming pool image, we use the URL below, and work on the <code>&lt;transformation parameters&gt;<\/code> portion:\n<a href=\"https:\/\/cloudinary.com\/\">https:\/\/cloudinary.com\/<\/a> <code>&lt;transformation-parameters&gt;<\/code> \/Spencer_Watson.jpg<\/p>\n<p>Cloudinary offers lots of image URL transformation parameters and they can be found <a href=\"https:\/\/cloudinary.com\/documentation\/image_transformations\">here<\/a>. For this test, we are going to be using quite a few parameters.  The URL might look a bit scary at first, but scroll down a bit and we will walk you through the whole thing.:<\/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;spencer-watson-36.jpg\\&quot;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]})&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(\\&quot;spencer-watson-36.jpg\\&quot;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&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;spencer-watson-36.jpg\\&quot; &gt; &lt;Transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;Transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;Transformation angle=\\&quot;90\\&quot; \\\/&gt; &lt;Transformation angle=\\&quot;hflip\\&quot; \\\/&gt; &lt;Transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;Transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;Transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot; \\\/&gt; &lt;\\\/Image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;spencer-watson-36.jpg\\&quot; &gt;\\n\\t&lt;Transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;Transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;Transformation angle=\\&quot;90\\&quot; \\\/&gt;\\n\\t&lt;Transformation angle=\\&quot;hflip\\&quot; \\\/&gt;\\n\\t&lt;Transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;Transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;Transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&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;spencer-watson-36.jpg\\&quot; &gt; &lt;cld-transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;cld-transformation :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;cld-transformation angle=\\&quot;90\\&quot; \\\/&gt; &lt;cld-transformation angle=\\&quot;hflip\\&quot; \\\/&gt; &lt;cld-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;cld-transformation gravity=\\&quot;north\\&quot; :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;cld-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot; \\\/&gt; &lt;\\\/cld-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;spencer-watson-36.jpg\\&quot; &gt;\\n\\t&lt;cld-transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation angle=\\&quot;90\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation angle=\\&quot;hflip\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation gravity=\\&quot;north\\&quot; :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&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;spencer-watson-36.jpg\\&quot; &gt; &lt;cl-transformation if=\\&quot;ar_gt_1\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation angle=\\&quot;90\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation angle=\\&quot;hflip\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;else\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;end\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;\\\/cl-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;spencer-watson-36.jpg\\&quot; &gt;\\n\\t&lt;cl-transformation if=\\&quot;ar_gt_1\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation angle=\\&quot;90\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation angle=\\&quot;hflip\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&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;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&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 background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&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;spencer-watson-36.jpg&#039;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]}).toHtml();&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.imageTag(&#039;spencer-watson-36.jpg&#039;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;spencer-watson-36.jpg\\&quot;).image(transformation=[ {&#039;if&#039;: \\&quot;ar_gt_1\\&quot;}, {&#039;height&#039;: 562, &#039;width&#039;: 1218, &#039;crop&#039;: \\&quot;fill\\&quot;}, {&#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;}, {&#039;angle&#039;: 90}, {&#039;angle&#039;: \\&quot;hflip\\&quot;}, {&#039;flags&#039;: \\&quot;layer_apply\\&quot;, &#039;gravity&#039;: \\&quot;west\\&quot;}, {&#039;if&#039;: \\&quot;else\\&quot;}, {&#039;height&#039;: 1218, &#039;width&#039;: 562, &#039;crop&#039;: \\&quot;fill\\&quot;}, {&#039;gravity&#039;: \\&quot;north\\&quot;, &#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;}, {&#039;if&#039;: \\&quot;end\\&quot;}, {&#039;background&#039;: \\&quot;#000000\\&quot;, &#039;radius&#039;: 54} ])&quot;,&quot;codeSnippet&quot;:&quot;CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;).image(transformation=[\\n  {&#039;if&#039;: \\&quot;ar_gt_1\\&quot;},\\n  {&#039;height&#039;: 562, &#039;width&#039;: 1218, &#039;crop&#039;: \\&quot;fill\\&quot;},\\n  {&#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;},\\n  {&#039;angle&#039;: 90},\\n  {&#039;angle&#039;: \\&quot;hflip\\&quot;},\\n  {&#039;flags&#039;: \\&quot;layer_apply\\&quot;, &#039;gravity&#039;: \\&quot;west\\&quot;},\\n  {&#039;if&#039;: \\&quot;else\\&quot;},\\n  {&#039;height&#039;: 1218, &#039;width&#039;: 562, &#039;crop&#039;: \\&quot;fill\\&quot;},\\n  {&#039;gravity&#039;: \\&quot;north\\&quot;, &#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;},\\n  {&#039;if&#039;: \\&quot;end\\&quot;},\\n  {&#039;background&#039;: \\&quot;#000000\\&quot;, &#039;radius&#039;: 54}\\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;spencer-watson-36.jpg&#039;))\\n\\t-&gt;conditional(Conditional::ifCondition(\\&quot;aspect_ratio &gt; 1\\&quot;,(new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(1218)\\n-&gt;height(562))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325))\\n\\t-&gt;rotate(Rotate::byAngle(90))\\n\\t-&gt;rotate(Rotate::mode(\\n\\tRotationMode::horizontalFlip())))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::west()))\\n\\t)\\n\\t))\\n\\t-&gt;otherwise((new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(562)\\n-&gt;height(1218))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325)))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::north()))\\n\\t)\\n\\t))\\n\\t)\\n\\t-&gt;roundCorners(RoundCorners::byRadius(54))\\n\\t-&gt;backgroundColor(Color::rgb(\\&quot;000000\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;(new ImageTag(&#039;spencer-watson-36.jpg&#039;))\\n\\t-&gt;conditional(Conditional::ifCondition(\\&quot;aspect_ratio &gt; 1\\&quot;,(new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(1218)\\n-&gt;height(562))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325))\\n\\t-&gt;rotate(Rotate::byAngle(90))\\n\\t-&gt;rotate(Rotate::mode(\\n\\tRotationMode::horizontalFlip())))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::west()))\\n\\t)\\n\\t))\\n\\t-&gt;otherwise((new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(562)\\n-&gt;height(1218))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325)))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::north()))\\n\\t)\\n\\t))\\n\\t)\\n\\t-&gt;roundCorners(RoundCorners::byRadius(54))\\n\\t-&gt;backgroundColor(Color::rgb(\\&quot;000000\\&quot;));&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;spencer-watson-36.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array( array(\\&quot;if\\&quot;=&gt;\\&quot;ar_gt_1\\&quot;), array(\\&quot;height\\&quot;=&gt;562, \\&quot;width\\&quot;=&gt;1218, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;), array(\\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;), array(\\&quot;angle\\&quot;=&gt;90), array(\\&quot;angle\\&quot;=&gt;\\&quot;hflip\\&quot;), array(\\&quot;flags\\&quot;=&gt;\\&quot;layer_apply\\&quot;, \\&quot;gravity\\&quot;=&gt;\\&quot;west\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;), array(\\&quot;height\\&quot;=&gt;1218, \\&quot;width\\&quot;=&gt;562, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;), array(\\&quot;gravity\\&quot;=&gt;\\&quot;north\\&quot;, \\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;), array(\\&quot;background\\&quot;=&gt;\\&quot;#000000\\&quot;, \\&quot;radius\\&quot;=&gt;54) )))&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;spencer-watson-36.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;ar_gt_1\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;562, \\&quot;width\\&quot;=&gt;1218, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;),\\n  array(\\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;),\\n  array(\\&quot;angle\\&quot;=&gt;90),\\n  array(\\&quot;angle\\&quot;=&gt;\\&quot;hflip\\&quot;),\\n  array(\\&quot;flags\\&quot;=&gt;\\&quot;layer_apply\\&quot;, \\&quot;gravity\\&quot;=&gt;\\&quot;west\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;1218, \\&quot;width\\&quot;=&gt;562, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;),\\n  array(\\&quot;gravity\\&quot;=&gt;\\&quot;north\\&quot;, \\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;),\\n  array(\\&quot;background\\&quot;=&gt;\\&quot;#000000\\&quot;, \\&quot;radius\\&quot;=&gt;54)\\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().if(\\&quot;ar_gt_1\\&quot;).chain() .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain() .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .angle(90).chain() .angle(\\&quot;hflip\\&quot;).chain() .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain() .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .background(\\&quot;#000000\\&quot;).radius(54)).imageTag(\\&quot;spencer-watson-36.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation()\\n  .if(\\&quot;ar_gt_1\\&quot;).chain()\\n  .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain()\\n  .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .angle(90).chain()\\n  .angle(\\&quot;hflip\\&quot;).chain()\\n  .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain()\\n  .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .background(\\&quot;#000000\\&quot;).radius(54)).imageTag(\\&quot;spencer-watson-36.jpg\\&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;spencer-watson-36.jpg\\&quot;, transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ])&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;spencer-watson-36.jpg\\&quot;, transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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().If(\\&quot;ar_gt_1\\&quot;).Chain() .Height(562).Width(1218).Crop(\\&quot;fill\\&quot;).Chain() .Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain() .Angle(90).Chain() .Angle(\\&quot;hflip\\&quot;).Chain() .Flags(\\&quot;layer_apply\\&quot;).Gravity(\\&quot;west\\&quot;).Chain() .If(\\&quot;else\\&quot;).Chain() .Height(1218).Width(562).Crop(\\&quot;fill\\&quot;).Chain() .Gravity(\\&quot;north\\&quot;).Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain() .If(\\&quot;end\\&quot;).Chain() .Background(\\&quot;#000000\\&quot;).Radius(54)).BuildImageTag(\\&quot;spencer-watson-36.jpg\\&quot;)&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation()\\n  .If(\\&quot;ar_gt_1\\&quot;).Chain()\\n  .Height(562).Width(1218).Crop(\\&quot;fill\\&quot;).Chain()\\n  .Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain()\\n  .Angle(90).Chain()\\n  .Angle(\\&quot;hflip\\&quot;).Chain()\\n  .Flags(\\&quot;layer_apply\\&quot;).Gravity(\\&quot;west\\&quot;).Chain()\\n  .If(\\&quot;else\\&quot;).Chain()\\n  .Height(1218).Width(562).Crop(\\&quot;fill\\&quot;).Chain()\\n  .Gravity(\\&quot;north\\&quot;).Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain()\\n  .If(\\&quot;end\\&quot;).Chain()\\n  .Background(\\&quot;#000000\\&quot;).Radius(54)).BuildImageTag(\\&quot;spencer-watson-36.jpg\\&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;spencer-watson-36.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;spencer-watson-36.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;));&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().setIf(\\&quot;ar_gt_1\\&quot;).chain() .setHeight(562).setWidth(1218).setCrop(\\&quot;fill\\&quot;).chain() .setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain() .setAngle(90).chain() .setAngle(\\&quot;hflip\\&quot;).chain() .setFlags(\\&quot;layer_apply\\&quot;).setGravity(\\&quot;west\\&quot;).chain() .setIf(\\&quot;else\\&quot;).chain() .setHeight(1218).setWidth(562).setCrop(\\&quot;fill\\&quot;).chain() .setGravity(\\&quot;north\\&quot;).setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain() .setIf(\\&quot;end\\&quot;).chain() .setBackground(\\&quot;#000000\\&quot;).setRadius(54)).generate(\\&quot;spencer-watson-36.jpg\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;codeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\\n  .setIf(\\&quot;ar_gt_1\\&quot;).chain()\\n  .setHeight(562).setWidth(1218).setCrop(\\&quot;fill\\&quot;).chain()\\n  .setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain()\\n  .setAngle(90).chain()\\n  .setAngle(\\&quot;hflip\\&quot;).chain()\\n  .setFlags(\\&quot;layer_apply\\&quot;).setGravity(\\&quot;west\\&quot;).chain()\\n  .setIf(\\&quot;else\\&quot;).chain()\\n  .setHeight(1218).setWidth(562).setCrop(\\&quot;fill\\&quot;).chain()\\n  .setGravity(\\&quot;north\\&quot;).setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain()\\n  .setIf(\\&quot;end\\&quot;).chain()\\n  .setBackground(\\&quot;#000000\\&quot;).setRadius(54)).generate(\\&quot;spencer-watson-36.jpg\\&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().if(\\&quot;ar_gt_1\\&quot;).chain() .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain() .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .angle(90).chain() .angle(\\&quot;hflip\\&quot;).chain() .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain() .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .if(\\&quot;end\\&quot;).chain() .background(\\&quot;#000000\\&quot;).radius(54)).generate(\\&quot;spencer-watson-36.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation()\\n  .if(\\&quot;ar_gt_1\\&quot;).chain()\\n  .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain()\\n  .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .angle(90).chain()\\n  .angle(\\&quot;hflip\\&quot;).chain()\\n  .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain()\\n  .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .background(\\&quot;#000000\\&quot;).radius(54)).generate(\\&quot;spencer-watson-36.jpg\\&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;spencer-watson-36.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;spencer-watson-36.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;));&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;spencer-watson-36.jpg\\&quot;)\\n\\t addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;) \\n}.generate()&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;spencer-watson-36.jpg\\&quot;)\\n\\t addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;) \\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;spencer-watson-36.jpg\\&quot;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]})&quot;,&quot;codeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;spencer-watson-36.jpg\\&quot;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson-36.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;);&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\\\/if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\\/spencer-watson-36.jpg&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;if&quot;:&quot;ar_gt_1&quot;},{&quot;crop_mode&quot;:&quot;fill&quot;,&quot;height&quot;:&quot;562&quot;,&quot;width&quot;:&quot;1218&quot;},{&quot;crop_mode&quot;:&quot;scale&quot;,&quot;overlay&quot;:&quot;iphone_x_notch&quot;,&quot;width&quot;:&quot;325&quot;},{&quot;angle&quot;:&quot;90&quot;},{&quot;angle&quot;:&quot;hflip&quot;},{&quot;flags&quot;:&quot;layer_apply&quot;,&quot;gravity&quot;:&quot;west&quot;},{&quot;if&quot;:&quot;else&quot;},{&quot;crop_mode&quot;:&quot;fill&quot;,&quot;height&quot;:&quot;1218&quot;,&quot;width&quot;:&quot;562&quot;},{&quot;crop_mode&quot;:&quot;scale&quot;,&quot;gravity&quot;:&quot;north&quot;,&quot;overlay&quot;:&quot;iphone_x_notch&quot;,&quot;width&quot;:&quot;325&quot;},{&quot;if&quot;:&quot;end&quot;},{&quot;background&quot;:&quot;rgb:000000&quot;,&quot;radius&quot;:&quot;54&quot;}],&quot;transformation_string&quot;:&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/c_scale,g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:&quot;&quot;,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;spencer-watson-36.jpg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;format&quot;:&quot;jpg&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\/if_ar_gt_1\/c_fill,h_562,w_1218\/c_scale,l_iphone_x_notch,w_325\/a_90\/a_hflip\/fl_layer_apply,g_west\/if_else\/c_fill,h_1218,w_562\/c_scale,g_north,l_iphone_x_notch,w_325\/if_end\/b_rgb:000000,r_54\/spencer-watson-36.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/if_ar_gt_1\/c_fill,h_562,w_1218\/c_scale,l_iphone_x_notch,w_325\/a_90\/a_hflip\/fl_layer_apply,g_west\/if_else\/c_fill,h_1218,w_562\/c_scale,g_north,l_iphone_x_notch,w_325\/if_end\/b_rgb:000000,r_54\/spencer-watson-36.jpg\" alt=\"image manipulation\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"562\" height=\"1218\"\/><\/a><\/p>\n<p>Looking at the URL, you can see what it means:<\/p>\n<ul>\n<li>\n<p><code>if_ar_gt_1<\/code>: If the aspect ratio of the image is greater than 1 (landscape):,\n<code>c_fill,h_562,w_1218<\/code>: resize the image to a height of 562 and a width of 1218 maintaining aspect ratio\n<code>c_scale,l_iphone_x_notch,w_325<\/code>: add the <code>iphone_x_notch<\/code> image as an overlay resized  to a width of 325 (regardless of its aspect ratio)\n<code>a_90\/a_hflip<\/code>: rotate the <code>iphone_x_notch<\/code> overlay by 90 degrees and do a horizontal mirror flip on it,\n<code>g_west,fl_layer_apply<\/code>: ensure the f the notch overlay is located on the far left of the parent image. End transformations to this layer.<\/p>\n<\/li>\n<li>\n<p><code>if_else<\/code>: But if the aspect ratio of the image is not greater than 1 (portrait):\n<code>c_fill,h_1218,w_562<\/code>: resize the image to a height of 1218 and a width of 562, maintaining aspect ratio\n<code>c_scale,g_north,l_iphone_x_notch,w_325<\/code>: add a layer of the iphone_x_notch image resized  to a width of 325 regardless of its aspect ratio and place it at the center-north of the parent image.<\/p>\n<\/li>\n<li>\n<p><code>if_end<\/code>: End the If statement.<\/p>\n<\/li>\n<li>\n<p><code>b_rgb:000000,r_54<\/code>: Apply a black background to the image and round the corners to a border radius of 54.<\/p>\n<\/li>\n<\/ul>\n<p>Let\u2019s take a look at this same transformation on another image, this time a landscape image. All you have to do is use the same conditional transformation URL with a different public ID:<\/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;country_sunset.jpg\\&quot;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]})&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(\\&quot;country_sunset.jpg\\&quot;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&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;country_sunset.jpg\\&quot; &gt; &lt;Transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;Transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;Transformation angle=\\&quot;90\\&quot; \\\/&gt; &lt;Transformation angle=\\&quot;hflip\\&quot; \\\/&gt; &lt;Transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;Transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;Transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; \\\/&gt; &lt;Transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;Transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot; \\\/&gt; &lt;\\\/Image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;country_sunset.jpg\\&quot; &gt;\\n\\t&lt;Transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;Transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;Transformation angle=\\&quot;90\\&quot; \\\/&gt;\\n\\t&lt;Transformation angle=\\&quot;hflip\\&quot; \\\/&gt;\\n\\t&lt;Transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;Transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;Transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; \\\/&gt;\\n\\t&lt;Transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;Transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&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;country_sunset.jpg\\&quot; &gt; &lt;cld-transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;cld-transformation :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt; &lt;cld-transformation angle=\\&quot;90\\&quot; \\\/&gt; &lt;cld-transformation angle=\\&quot;hflip\\&quot; \\\/&gt; &lt;cld-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt; &lt;cld-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt; &lt;cld-transformation gravity=\\&quot;north\\&quot; :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; \\\/&gt; &lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt; &lt;cld-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot; \\\/&gt; &lt;\\\/cld-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;country_sunset.jpg\\&quot; &gt;\\n\\t&lt;cld-transformation if=\\&quot;ar_gt_1\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation angle=\\&quot;90\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation angle=\\&quot;hflip\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;else\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation gravity=\\&quot;north\\&quot; :overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation if=\\&quot;end\\&quot; \\\/&gt;\\n\\t&lt;cld-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&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;country_sunset.jpg\\&quot; &gt; &lt;cl-transformation if=\\&quot;ar_gt_1\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation angle=\\&quot;90\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation angle=\\&quot;hflip\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;else\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation height=\\&quot;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation if=\\&quot;end\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;cl-transformation background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&quot;&gt; &lt;\\\/cl-transformation&gt; &lt;\\\/cl-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;country_sunset.jpg\\&quot; &gt;\\n\\t&lt;cl-transformation if=\\&quot;ar_gt_1\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation height=\\&quot;562\\&quot; width=\\&quot;1218\\&quot; crop=\\&quot;fill\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&quot; crop=\\&quot;scale\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation angle=\\&quot;90\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation angle=\\&quot;hflip\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation flags=\\&quot;layer_apply\\&quot; gravity=\\&quot;west\\&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;1218\\&quot; width=\\&quot;562\\&quot; crop=\\&quot;fill\\&quot;&gt;\\n\\t&lt;\\\/cl-transformation&gt;\\n\\t&lt;cl-transformation gravity=\\&quot;north\\&quot; overlay=\\&quot;iphone_x_notch\\&quot; width=\\&quot;325\\&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 background=\\&quot;#000000\\&quot; radius=\\&quot;54\\&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;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&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;country_sunset.jpg&#039;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]}).toHtml();&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.imageTag(&#039;country_sunset.jpg&#039;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;country_sunset.jpg\\&quot;).image(transformation=[ {&#039;if&#039;: \\&quot;ar_gt_1\\&quot;}, {&#039;height&#039;: 562, &#039;width&#039;: 1218, &#039;crop&#039;: \\&quot;fill\\&quot;}, {&#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;}, {&#039;angle&#039;: 90}, {&#039;angle&#039;: \\&quot;hflip\\&quot;}, {&#039;flags&#039;: \\&quot;layer_apply\\&quot;, &#039;gravity&#039;: \\&quot;west\\&quot;}, {&#039;if&#039;: \\&quot;else\\&quot;}, {&#039;height&#039;: 1218, &#039;width&#039;: 562, &#039;crop&#039;: \\&quot;fill\\&quot;}, {&#039;gravity&#039;: \\&quot;north\\&quot;, &#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325}, {&#039;if&#039;: \\&quot;end\\&quot;}, {&#039;background&#039;: \\&quot;#000000\\&quot;, &#039;radius&#039;: 54} ])&quot;,&quot;codeSnippet&quot;:&quot;CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;).image(transformation=[\\n  {&#039;if&#039;: \\&quot;ar_gt_1\\&quot;},\\n  {&#039;height&#039;: 562, &#039;width&#039;: 1218, &#039;crop&#039;: \\&quot;fill\\&quot;},\\n  {&#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325, &#039;crop&#039;: \\&quot;scale\\&quot;},\\n  {&#039;angle&#039;: 90},\\n  {&#039;angle&#039;: \\&quot;hflip\\&quot;},\\n  {&#039;flags&#039;: \\&quot;layer_apply\\&quot;, &#039;gravity&#039;: \\&quot;west\\&quot;},\\n  {&#039;if&#039;: \\&quot;else\\&quot;},\\n  {&#039;height&#039;: 1218, &#039;width&#039;: 562, &#039;crop&#039;: \\&quot;fill\\&quot;},\\n  {&#039;gravity&#039;: \\&quot;north\\&quot;, &#039;overlay&#039;: \\&quot;iphone_x_notch\\&quot;, &#039;width&#039;: 325},\\n  {&#039;if&#039;: \\&quot;end\\&quot;},\\n  {&#039;background&#039;: \\&quot;#000000\\&quot;, &#039;radius&#039;: 54}\\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;country_sunset.jpg&#039;))\\n\\t-&gt;conditional(Conditional::ifCondition(\\&quot;aspect_ratio &gt; 1\\&quot;,(new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(1218)\\n-&gt;height(562))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325))\\n\\t-&gt;rotate(Rotate::byAngle(90))\\n\\t-&gt;rotate(Rotate::mode(\\n\\tRotationMode::horizontalFlip())))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::west()))\\n\\t)\\n\\t))\\n\\t-&gt;otherwise((new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(562)\\n-&gt;height(1218))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325)))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::north()))\\n\\t)\\n\\t))\\n\\t)\\n\\t-&gt;roundCorners(RoundCorners::byRadius(54))\\n\\t-&gt;backgroundColor(Color::rgb(\\&quot;000000\\&quot;))\\n\\t-&gt;version(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;(new ImageTag(&#039;country_sunset.jpg&#039;))\\n\\t-&gt;conditional(Conditional::ifCondition(\\&quot;aspect_ratio &gt; 1\\&quot;,(new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(1218)\\n-&gt;height(562))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325))\\n\\t-&gt;rotate(Rotate::byAngle(90))\\n\\t-&gt;rotate(Rotate::mode(\\n\\tRotationMode::horizontalFlip())))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::west()))\\n\\t)\\n\\t))\\n\\t-&gt;otherwise((new Transformation())\\n\\t-&gt;resize(Resize::fill()-&gt;width(562)\\n-&gt;height(1218))\\n\\t-&gt;overlay(Overlay::source(\\n\\tSource::image(\\&quot;iphone_x_notch\\&quot;)\\n\\t-&gt;transformation((new Transformation())\\n\\t-&gt;resize(Resize::scale()-&gt;width(325)))\\n\\t)\\n\\t-&gt;position((new Position())\\n\\t-&gt;gravity(\\n\\tGravity::compass(\\n\\tCompass::north()))\\n\\t)\\n\\t))\\n\\t)\\n\\t-&gt;roundCorners(RoundCorners::byRadius(54))\\n\\t-&gt;backgroundColor(Color::rgb(\\&quot;000000\\&quot;))\\n\\t-&gt;version(1506615977);&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;country_sunset.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array( array(\\&quot;if\\&quot;=&gt;\\&quot;ar_gt_1\\&quot;), array(\\&quot;height\\&quot;=&gt;562, \\&quot;width\\&quot;=&gt;1218, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;), array(\\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;), array(\\&quot;angle\\&quot;=&gt;90), array(\\&quot;angle\\&quot;=&gt;\\&quot;hflip\\&quot;), array(\\&quot;flags\\&quot;=&gt;\\&quot;layer_apply\\&quot;, \\&quot;gravity\\&quot;=&gt;\\&quot;west\\&quot;), array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;), array(\\&quot;height\\&quot;=&gt;1218, \\&quot;width\\&quot;=&gt;562, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;), array(\\&quot;gravity\\&quot;=&gt;\\&quot;north\\&quot;, \\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325), array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;), array(\\&quot;background\\&quot;=&gt;\\&quot;#000000\\&quot;, \\&quot;radius\\&quot;=&gt;54) )))&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;country_sunset.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;ar_gt_1\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;562, \\&quot;width\\&quot;=&gt;1218, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;),\\n  array(\\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325, \\&quot;crop\\&quot;=&gt;\\&quot;scale\\&quot;),\\n  array(\\&quot;angle\\&quot;=&gt;90),\\n  array(\\&quot;angle\\&quot;=&gt;\\&quot;hflip\\&quot;),\\n  array(\\&quot;flags\\&quot;=&gt;\\&quot;layer_apply\\&quot;, \\&quot;gravity\\&quot;=&gt;\\&quot;west\\&quot;),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;else\\&quot;),\\n  array(\\&quot;height\\&quot;=&gt;1218, \\&quot;width\\&quot;=&gt;562, \\&quot;crop\\&quot;=&gt;\\&quot;fill\\&quot;),\\n  array(\\&quot;gravity\\&quot;=&gt;\\&quot;north\\&quot;, \\&quot;overlay\\&quot;=&gt;\\&quot;iphone_x_notch\\&quot;, \\&quot;width\\&quot;=&gt;325),\\n  array(\\&quot;if\\&quot;=&gt;\\&quot;end\\&quot;),\\n  array(\\&quot;background\\&quot;=&gt;\\&quot;#000000\\&quot;, \\&quot;radius\\&quot;=&gt;54)\\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().if(\\&quot;ar_gt_1\\&quot;).chain() .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain() .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .angle(90).chain() .angle(\\&quot;hflip\\&quot;).chain() .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain() .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).chain() .if(\\&quot;end\\&quot;).chain() .background(\\&quot;#000000\\&quot;).radius(54)).imageTag(\\&quot;country_sunset.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation()\\n  .if(\\&quot;ar_gt_1\\&quot;).chain()\\n  .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain()\\n  .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .angle(90).chain()\\n  .angle(\\&quot;hflip\\&quot;).chain()\\n  .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain()\\n  .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .background(\\&quot;#000000\\&quot;).radius(54)).imageTag(\\&quot;country_sunset.jpg\\&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;country_sunset.jpg\\&quot;, transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ])&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;country_sunset.jpg\\&quot;, transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: \\&quot;iphone_x_notch\\&quot;, width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: \\&quot;iphone_x_notch\\&quot;, width: 325},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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().If(\\&quot;ar_gt_1\\&quot;).Chain() .Height(562).Width(1218).Crop(\\&quot;fill\\&quot;).Chain() .Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain() .Angle(90).Chain() .Angle(\\&quot;hflip\\&quot;).Chain() .Flags(\\&quot;layer_apply\\&quot;).Gravity(\\&quot;west\\&quot;).Chain() .If(\\&quot;else\\&quot;).Chain() .Height(1218).Width(562).Crop(\\&quot;fill\\&quot;).Chain() .Gravity(\\&quot;north\\&quot;).Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Chain() .If(\\&quot;end\\&quot;).Chain() .Background(\\&quot;#000000\\&quot;).Radius(54)).BuildImageTag(\\&quot;country_sunset.jpg\\&quot;)&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation()\\n  .If(\\&quot;ar_gt_1\\&quot;).Chain()\\n  .Height(562).Width(1218).Crop(\\&quot;fill\\&quot;).Chain()\\n  .Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Crop(\\&quot;scale\\&quot;).Chain()\\n  .Angle(90).Chain()\\n  .Angle(\\&quot;hflip\\&quot;).Chain()\\n  .Flags(\\&quot;layer_apply\\&quot;).Gravity(\\&quot;west\\&quot;).Chain()\\n  .If(\\&quot;else\\&quot;).Chain()\\n  .Height(1218).Width(562).Crop(\\&quot;fill\\&quot;).Chain()\\n  .Gravity(\\&quot;north\\&quot;).Overlay(new Layer().PublicId(\\&quot;iphone_x_notch\\&quot;)).Width(325).Chain()\\n  .If(\\&quot;end\\&quot;).Chain()\\n  .Background(\\&quot;#000000\\&quot;).Radius(54)).BuildImageTag(\\&quot;country_sunset.jpg\\&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;country_sunset.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t.version(1506615977));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;country_sunset.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t.version(1506615977));&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().setIf(\\&quot;ar_gt_1\\&quot;).chain() .setHeight(562).setWidth(1218).setCrop(\\&quot;fill\\&quot;).chain() .setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain() .setAngle(90).chain() .setAngle(\\&quot;hflip\\&quot;).chain() .setFlags(\\&quot;layer_apply\\&quot;).setGravity(\\&quot;west\\&quot;).chain() .setIf(\\&quot;else\\&quot;).chain() .setHeight(1218).setWidth(562).setCrop(\\&quot;fill\\&quot;).chain() .setGravity(\\&quot;north\\&quot;).setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).chain() .setIf(\\&quot;end\\&quot;).chain() .setBackground(\\&quot;#000000\\&quot;).setRadius(54)).generate(\\&quot;country_sunset.jpg\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;codeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation()\\n  .setIf(\\&quot;ar_gt_1\\&quot;).chain()\\n  .setHeight(562).setWidth(1218).setCrop(\\&quot;fill\\&quot;).chain()\\n  .setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).setCrop(\\&quot;scale\\&quot;).chain()\\n  .setAngle(90).chain()\\n  .setAngle(\\&quot;hflip\\&quot;).chain()\\n  .setFlags(\\&quot;layer_apply\\&quot;).setGravity(\\&quot;west\\&quot;).chain()\\n  .setIf(\\&quot;else\\&quot;).chain()\\n  .setHeight(1218).setWidth(562).setCrop(\\&quot;fill\\&quot;).chain()\\n  .setGravity(\\&quot;north\\&quot;).setOverlay(\\&quot;iphone_x_notch\\&quot;).setWidth(325).chain()\\n  .setIf(\\&quot;end\\&quot;).chain()\\n  .setBackground(\\&quot;#000000\\&quot;).setRadius(54)).generate(\\&quot;country_sunset.jpg\\&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().if(\\&quot;ar_gt_1\\&quot;).chain() .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain() .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain() .angle(90).chain() .angle(\\&quot;hflip\\&quot;).chain() .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain() .if(\\&quot;else\\&quot;).chain() .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain() .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).chain() .if(\\&quot;end\\&quot;).chain() .background(\\&quot;#000000\\&quot;).radius(54)).generate(\\&quot;country_sunset.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation()\\n  .if(\\&quot;ar_gt_1\\&quot;).chain()\\n  .height(562).width(1218).crop(\\&quot;fill\\&quot;).chain()\\n  .overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).crop(\\&quot;scale\\&quot;).chain()\\n  .angle(90).chain()\\n  .angle(\\&quot;hflip\\&quot;).chain()\\n  .flags(\\&quot;layer_apply\\&quot;).gravity(\\&quot;west\\&quot;).chain()\\n  .if(\\&quot;else\\&quot;).chain()\\n  .height(1218).width(562).crop(\\&quot;fill\\&quot;).chain()\\n  .gravity(\\&quot;north\\&quot;).overlay(new Layer().publicId(\\&quot;iphone_x_notch\\&quot;)).width(325).chain()\\n  .if(\\&quot;end\\&quot;).chain()\\n  .background(\\&quot;#000000\\&quot;).radius(54)).generate(\\&quot;country_sunset.jpg\\&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;country_sunset.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t.version(1506615977));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;country_sunset.jpg&#039;).transformation(Transformation()\\n\\t.addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t.version(1506615977));&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;country_sunset.jpg\\&quot;)\\n\\t addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t version(1506615977) \\n}.generate()&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;country_sunset.jpg\\&quot;)\\n\\t addTransformation(\\&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\&quot;)\\n\\t version(1506615977) \\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;country_sunset.jpg\\&quot;, {transformation: [ {if: \\&quot;ar_gt_1\\&quot;}, {height: 562, width: 1218, crop: \\&quot;fill\\&quot;}, {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;}, {angle: 90}, {angle: \\&quot;hflip\\&quot;}, {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;}, {if: \\&quot;else\\&quot;}, {height: 1218, width: 562, crop: \\&quot;fill\\&quot;}, {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325}, {if: \\&quot;end\\&quot;}, {background: \\&quot;#000000\\&quot;, radius: 54} ]})&quot;,&quot;codeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;country_sunset.jpg\\&quot;, {transformation: [\\n  {if: \\&quot;ar_gt_1\\&quot;},\\n  {height: 562, width: 1218, crop: \\&quot;fill\\&quot;},\\n  {overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325, crop: \\&quot;scale\\&quot;},\\n  {angle: 90},\\n  {angle: \\&quot;hflip\\&quot;},\\n  {flags: \\&quot;layer_apply\\&quot;, gravity: \\&quot;west\\&quot;},\\n  {if: \\&quot;else\\&quot;},\\n  {height: 1218, width: 562, crop: \\&quot;fill\\&quot;},\\n  {gravity: \\&quot;north\\&quot;, overlay: new cloudinary.Layer().publicId(\\&quot;iphone_x_notch\\&quot;), width: 325},\\n  {if: \\&quot;end\\&quot;},\\n  {background: \\&quot;#000000\\&quot;, radius: 54}\\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;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;country_sunset.jpg\\&quot;)\\n  .conditional(\\n    ifCondition(\\n      \\&quot;aspect_ratio &gt; 1\\&quot;,\\n      new Transformation()\\n        .resize(fill().width(1218).height(562))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation()\\n                .resize(scale().width(325))\\n                .rotate(byAngle(90))\\n                .rotate(mode(horizontalFlip()))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;west\\&quot;)))\\n        )\\n    ).otherwise(\\n      new Transformation()\\n        .resize(fill().width(562).height(1218))\\n        .overlay(\\n          source(\\n            image(\\&quot;iphone_x_notch\\&quot;).transformation(\\n              new Transformation().resize(scale().width(325))\\n            )\\n          ).position(new Position().gravity(compass(\\&quot;north\\&quot;)))\\n        )\\n    )\\n  )\\n  .roundCorners(byRadius(54))\\n  .backgroundColor(\\&quot;#000000\\&quot;)\\n  .setVersion(1506615977);&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\\\/if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54\\\/v1506615977\\\/country_sunset.jpg&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;if&quot;:&quot;ar_gt_1&quot;},{&quot;crop_mode&quot;:&quot;fill&quot;,&quot;height&quot;:&quot;562&quot;,&quot;width&quot;:&quot;1218&quot;},{&quot;crop_mode&quot;:&quot;scale&quot;,&quot;overlay&quot;:&quot;iphone_x_notch&quot;,&quot;width&quot;:&quot;325&quot;},{&quot;angle&quot;:&quot;90&quot;},{&quot;angle&quot;:&quot;hflip&quot;},{&quot;flags&quot;:&quot;layer_apply&quot;,&quot;gravity&quot;:&quot;west&quot;},{&quot;if&quot;:&quot;else&quot;},{&quot;crop_mode&quot;:&quot;fill&quot;,&quot;height&quot;:&quot;1218&quot;,&quot;width&quot;:&quot;562&quot;},{&quot;gravity&quot;:&quot;north&quot;,&quot;overlay&quot;:&quot;iphone_x_notch&quot;,&quot;width&quot;:&quot;325&quot;},{&quot;if&quot;:&quot;end&quot;},{&quot;background&quot;:&quot;rgb:000000&quot;,&quot;radius&quot;:&quot;54&quot;}],&quot;transformation_string&quot;:&quot;if_ar_gt_1\\\/c_fill,h_562,w_1218\\\/c_scale,l_iphone_x_notch,w_325\\\/a_90\\\/a_hflip\\\/fl_layer_apply,g_west\\\/if_else\\\/c_fill,h_1218,w_562\\\/g_north,l_iphone_x_notch,w_325\\\/if_end\\\/b_rgb:000000,r_54&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:&quot;1506615977&quot;,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;country_sunset.jpg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;format&quot;:&quot;jpg&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\/if_ar_gt_1\/c_fill,h_562,w_1218\/c_scale,l_iphone_x_notch,w_325\/a_90\/a_hflip\/fl_layer_apply,g_west\/if_else\/c_fill,h_1218,w_562\/g_north,l_iphone_x_notch,w_325\/if_end\/b_rgb:000000,r_54\/v1506615977\/country_sunset.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/if_ar_gt_1\/c_fill,h_562,w_1218\/c_scale,l_iphone_x_notch,w_325\/a_90\/a_hflip\/fl_layer_apply,g_west\/if_else\/c_fill,h_1218,w_562\/g_north,l_iphone_x_notch,w_325\/if_end\/b_rgb:000000,r_54\/v1506615977\/country_sunset.jpg\" alt=\"Test landscape image on iPhone X\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"1218\" height=\"562\"\/><\/a><\/p>\n<h2>Bundle Transformations with Named Transformation<\/h2>\n<p>Let\u2019s do one more cool thing, it feels weird to have to write all those transformation parameters for every image to be transformed. Cloudinary offers the named transformation feature which is used to bundle transformation parameter into one single re-usable parameter.<\/p>\n<p>In the transformation panel of the Cloudinary dashboard, a list of all transformations currently delivered by Cloudinary on the current user account can be found. Click the edit link at the bottom of each transformation and use \u201c<strong>Save as<\/strong>\u201d to save the transformation with whichever name you choose. I choose \u201c<strong>iphonex<\/strong>\u201d.  Once saved, on the list of transformations you can find the named transformation listed as iphonex. This \u201ctransformation pack\u201d is now available to all images stored and can be applied to our test image with:<\/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;spencer-watson.jpg\\&quot;, {transformation: [\\&quot;iphonex\\&quot;]})&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(\\&quot;spencer-watson.jpg\\&quot;, {transformation: [\\&quot;iphonex\\&quot;]})&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;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&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;spencer-watson.jpg\\&quot; &gt; &lt;Transformation transformation={[\\&quot;iphonex\\&quot;]} \\\/&gt; &lt;\\\/Image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;Image publicId=\\&quot;spencer-watson.jpg\\&quot; &gt;\\n\\t&lt;Transformation transformation={[\\&quot;iphonex\\&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;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&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;spencer-watson.jpg\\&quot; &gt; &lt;cld-transformation transformation={[\\&quot;iphonex\\&quot;]} \\\/&gt; &lt;\\\/cld-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cld-image public-id=\\&quot;spencer-watson.jpg\\&quot; &gt;\\n\\t&lt;cld-transformation transformation={[\\&quot;iphonex\\&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;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&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;spencer-watson.jpg\\&quot; &gt; &lt;cl-transformation transformation={{[\\&quot;iphonex\\&quot;]}}&gt; &lt;\\\/cl-transformation&gt; &lt;\\\/cl-image&gt;&quot;,&quot;codeSnippet&quot;:&quot;&lt;cl-image public-id=\\&quot;spencer-watson.jpg\\&quot; &gt;\\n\\t&lt;cl-transformation transformation={{[\\&quot;iphonex\\&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;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&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;spencer-watson.jpg&#039;, {transformation: [\\&quot;iphonex\\&quot;]}).toHtml();&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.imageTag(&#039;spencer-watson.jpg&#039;, {transformation: [\\&quot;iphonex\\&quot;]}).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;spencer-watson.jpg\\&quot;).image(transformation=[\\&quot;iphonex\\&quot;])&quot;,&quot;codeSnippet&quot;:&quot;CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).image(transformation=[\\&quot;iphonex\\&quot;])&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;spencer-watson.jpg&#039;))\\n\\t-&gt;namedTransformation(NamedTransformation::name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;(new ImageTag(&#039;spencer-watson.jpg&#039;))\\n\\t-&gt;namedTransformation(NamedTransformation::name(\\&quot;iphonex\\&quot;));&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;spencer-watson.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\&quot;iphonex\\&quot;)))&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;spencer-watson.jpg\\&quot;, array(\\&quot;transformation\\&quot;=&gt;array(\\&quot;iphonex\\&quot;)))&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().named(\\&quot;iphonex\\&quot;)).imageTag(\\&quot;spencer-watson.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.url().transformation(new Transformation().named(\\&quot;iphonex\\&quot;)).imageTag(\\&quot;spencer-watson.jpg\\&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;spencer-watson.jpg\\&quot;, transformation: [\\&quot;iphonex\\&quot;])&quot;,&quot;codeSnippet&quot;:&quot;cl_image_tag(\\&quot;spencer-watson.jpg\\&quot;, transformation: [\\&quot;iphonex\\&quot;])&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().Named(\\&quot;iphonex\\&quot;)).BuildImageTag(\\&quot;spencer-watson.jpg\\&quot;)&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.Api.UrlImgUp.Transform(new Transformation().Named(\\&quot;iphonex\\&quot;)).BuildImageTag(\\&quot;spencer-watson.jpg\\&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;spencer-watson.jpg&#039;).transformation(Transformation()\\n\\t.namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;spencer-watson.jpg&#039;).transformation(Transformation()\\n\\t.namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)));&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().setNamed(\\&quot;iphonex\\&quot;)).generate(\\&quot;spencer-watson.jpg\\&quot;)!, cloudinary: cloudinary)&quot;,&quot;codeSnippet&quot;:&quot;imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setNamed(\\&quot;iphonex\\&quot;)).generate(\\&quot;spencer-watson.jpg\\&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().named(\\&quot;iphonex\\&quot;)).generate(\\&quot;spencer-watson.jpg\\&quot;);&quot;,&quot;codeSnippet&quot;:&quot;MediaManager.get().url().transformation(new Transformation().named(\\&quot;iphonex\\&quot;)).generate(\\&quot;spencer-watson.jpg\\&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;spencer-watson.jpg&#039;).transformation(Transformation()\\n\\t.namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)));&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image(&#039;spencer-watson.jpg&#039;).transformation(Transformation()\\n\\t.namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)));&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;spencer-watson.jpg\\&quot;)\\n\\t namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)) \\n}.generate()&quot;,&quot;codeSnippet&quot;:&quot;cloudinary.image {\\n\\tpublicId(\\&quot;spencer-watson.jpg\\&quot;)\\n\\t namedTransformation(NamedTransformation.name(\\&quot;iphonex\\&quot;)) \\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;spencer-watson.jpg\\&quot;, {transformation: [\\&quot;iphonex\\&quot;]})&quot;,&quot;codeSnippet&quot;:&quot;$.cloudinary.image(\\&quot;spencer-watson.jpg\\&quot;, {transformation: [\\&quot;iphonex\\&quot;]})&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;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&quot;,&quot;codeSnippet&quot;:&quot;new CloudinaryImage(\\&quot;spencer-watson.jpg\\&quot;).namedTransformation(name(\\&quot;iphonex\\&quot;));&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\\\/t_iphonex\\\/spencer-watson.jpg&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&quot;:&quot;iphonex&quot;}],&quot;transformation_string&quot;:&quot;t_iphonex&quot;,&quot;url_suffix&quot;:&quot;&quot;,&quot;version&quot;:&quot;&quot;,&quot;secure&quot;:true,&quot;public_id&quot;:&quot;spencer-watson.jpg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;format&quot;:&quot;jpg&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\/t_iphonex\/spencer-watson.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/demo\/image\/upload\/t_iphonex\/spencer-watson.jpg\" alt=\"iPhone X\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"562\" height=\"1219\"\/><\/a><\/p>\n<p>Read more on named transformations <a href=\"https:\/\/cloudinary.com\/documentation\/image_transformations#named_transformations\">here<\/a> and how to implement them <a href=\"https:\/\/support.cloudinary.com\/hc\/en-us\/articles\/202521212-How-can-I-create-a-named-transformation-with-multiple-base-transformations-\">here<\/a>.<\/p>\n<h2>Conclusion<\/h2>\n<p>Now you have seen how you can transform your images to test how they look on the iPhone X screen. You can try this out with several other images and if you are building a product be sure to test it to see how it looks on the iPhone X. This is just one of an unlimited number of cool things you can do with the Cloudinary <a href=\"https:\/\/cloudinary.com\/documentation\/image_transformations\">image manipulation<\/a> parameters. Check out the <a href=\"https:\/\/demo.cloudinary.com\/cloudydesk\/iphonex\/\">demo here<\/a><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":41,"featured_media":21623,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[134,165],"class_list":["post-21622","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-guest-post","tag-image-transformation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Are your website images ready to embrace the iPhone X notch?<\/title>\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\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Are your website images ready to embrace the iPhone X notch?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-06T18:45:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-23T17:16:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover-jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"1027\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Are your website images ready to embrace the iPhone X notch?\",\"datePublished\":\"2017-11-06T18:45:38+00:00\",\"dateModified\":\"2022-09-23T17:16:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\"},\"wordCount\":11,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA\",\"keywords\":[\"Guest Post\",\"Image Transformation\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2017\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\",\"url\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\",\"name\":\"Are your website images ready to embrace the iPhone X notch?\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA\",\"datePublished\":\"2017-11-06T18:45:38+00:00\",\"dateModified\":\"2022-09-23T17:16:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA\",\"width\":1540,\"height\":1027},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Are your website images ready to embrace the iPhone X notch?\"}]},{\"@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\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Are your website images ready to embrace the iPhone X notch?","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\/are_your_website_images_ready_to_embrace_the_iphone_x_notch","og_locale":"en_US","og_type":"article","og_title":"Are your website images ready to embrace the iPhone X notch?","og_url":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch","og_site_name":"Cloudinary Blog","article_published_time":"2017-11-06T18:45:38+00:00","article_modified_time":"2022-09-23T17:16:06+00:00","og_image":[{"width":1540,"height":1027,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover-jpg?_i=AA","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch"},"author":{"name":"","@id":""},"headline":"Are your website images ready to embrace the iPhone X notch?","datePublished":"2017-11-06T18:45:38+00:00","dateModified":"2022-09-23T17:16:06+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch"},"wordCount":11,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA","keywords":["Guest Post","Image Transformation"],"inLanguage":"en-US","copyrightYear":"2017","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch","url":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch","name":"Are your website images ready to embrace the iPhone X notch?","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA","datePublished":"2017-11-06T18:45:38+00:00","dateModified":"2022-09-23T17:16:06+00:00","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA","width":1540,"height":1027},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/are_your_website_images_ready_to_embrace_the_iphone_x_notch#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Are your website images ready to embrace the iPhone X notch?"}]},{"@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":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649723754\/Web_Assets\/blog\/iPhone_X_Cover\/iPhone_X_Cover.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21622","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\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=21622"}],"version-history":[{"count":2,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21622\/revisions"}],"predecessor-version":[{"id":25179,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21622\/revisions\/25179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/21623"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=21622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=21622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=21622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}