<?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/13/w/api-documentation/75824/resizedimage-ui-component</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</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/13/w/api-documentation/75824/resizedimage-ui-component</link><pubDate>Fri, 08 Mar 2024 17:52:15 GMT</pubDate><guid isPermaLink="false">e9cbb47a-f211-4ea4-b6ac-ec5287f43203</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75824/resizedimage-ui-component#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:52:15&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&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;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;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>