<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>resizedimage UI Component</title><link>https://community.telligent.com/community/11/w/api-documentation/67189/resizedimage-ui-component</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>resizedimage UI Component</title><link>https://community.telligent.com/community/11/w/api-documentation/67189/resizedimage-ui-component</link><pubDate>Tue, 19 Nov 2019 20:28:43 GMT</pubDate><guid isPermaLink="false">06be9374-9603-40af-8d67-c5d2f67db2b9</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/67189/resizedimage-ui-component#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:28:43&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_telligent_evolution_ui_components_resizedimage" name="jQuery_telligent_evolution_ui_components_resizedimage"&gt;&lt;/a&gt;jQuery.telligent.evolution.ui.components.resizedimage&lt;/h3&gt;
&lt;p&gt;[[ui JavaScript API Module|UI Component]] which allows client-side declarative rendering of an image using server-side resizing. This is useful when a URL of an image is known from the result of a REST request on the client, but it is not necessarily efficient to render an &lt;code&gt;img&lt;/code&gt; tag directly sourcing it. Supports both local images (in CFS) as well as externally hosted images. Supports both &lt;code&gt;ZoomAndCrop&lt;/code&gt; as well as &lt;code&gt;ScaleDown&lt;/code&gt; resize methods.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Options" name="Options"&gt;&lt;/a&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;src&lt;/code&gt;: Image Source URL&lt;/li&gt;
&lt;li&gt;&lt;code&gt;width&lt;/code&gt;: Max Width&lt;/li&gt;
&lt;li&gt;&lt;code&gt;height&lt;/code&gt;: Max Height&lt;/li&gt;
&lt;li&gt;&lt;code&gt;resizemethod&lt;/code&gt;: Resize Method, either &lt;code&gt;ScaleDown&lt;/code&gt; or &lt;code&gt;ZoomAndCrop&lt;/code&gt;. &lt;em&gt;default&lt;/em&gt; &lt;code&gt;ZoomAndCrop&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Example" name="Example"&gt;&lt;/a&gt;Example&lt;/h3&gt;
&lt;p&gt;Render a server-side-resized image at 100x100 cropped and zoomed to fit.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;img class=&amp;quot;ui-resizedimage&amp;quot; data-src=&amp;quot;IMAGE-URL&amp;quot; data-width=&amp;quot;100&amp;quot; data-height=&amp;quot;100&amp;quot; data-resizemethod=&amp;quot;ZoomAndCrop&amp;quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>