<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Maciej Golis</title> <link>https://world.optimizely.com/blogs/maciej-golis/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>Image Cropper Property Editors (using ImageResizing.NET)</title>            <link>https://world.optimizely.com/blogs/maciej-golis/dates/2018/10/image-cropper-property-editors-using-imageresizing-net/</link>            <description>&lt;p&gt;Happy New Year All!&lt;/p&gt;
&lt;p&gt;There are many ways an image crop can be defined. As we know, editors do like as much flexibility as possible :) Having discussed various approaches with multiple content teams, we have decided to enable cropping at the page or block level.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We made 2 editors available:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Image Reference&lt;/li&gt;
&lt;li&gt;Image Reference List&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The aspect ratio can be defined for each instance of the property editor &lt;span&gt;individually&lt;/span&gt;.&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Usage&lt;/h2&gt;
&lt;p&gt;Image can be assigned by drag and dropping it into the drop zone:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://itmholding.azurewebsites.net/assets/epi/single_image_start.jpg&quot; width=&quot;300&quot; alt=&quot;&quot; height=&quot;90&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Once the image is dropped, Image Cropper dialog is displayed:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://itmholding.azurewebsites.net/assets/epi/cropper.jpg&quot; width=&quot;584&quot; alt=&quot;&quot; height=&quot;436&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Of course, any&amp;nbsp;image can be edited or deleted at any point. Moreover images in Image Reference List editor can be reordered:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://itmholding.azurewebsites.net/assets/epi/image_list_drag.jpg&quot; width=&quot;568&quot; alt=&quot;&quot; height=&quot;257&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Implementation&lt;/h2&gt;
&lt;p&gt;The NuGet package is available in the &lt;a href=&quot;https://nuget.episerver.com/package/?id=ITMeric.ImageCrop&quot;&gt;EPiServer Nuget Feed&lt;/a&gt;. The source code and the implemenation guide can be found on &lt;a href=&quot;https://github.com/itMeric/ITMeric.ImageCrop/&quot;&gt;GitHub&lt;/a&gt;.&lt;/p&gt;</description>            <guid>https://world.optimizely.com/blogs/maciej-golis/dates/2018/10/image-cropper-property-editors-using-imageresizing-net/</guid>            <pubDate>Tue, 08 Jan 2019 08:55:31 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>