1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / thumbnail Image

thumbnail Image

2 posts, 0 answered
  1. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    05 Jan 2011
    Link to this post
    Hi,

    I saw this post of sitfinity 3.0 :
    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/general-discussions/single-image-thumbnail.aspx

    I need something like :

    <img sfref="[Libraries]c2324561-bcd4-4978-a63c-ceedb1fe8350" src="/EmptyProject/Images/Desert.sflb.ashx?width=150&amp;height=150" alt="text" />

    What i need is to be able to generate a thumbnail of one image that is not in one library.
    I there any solution out of the box in the version 4.0 or i have to use may one .ashx ?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Jan 2011
    Link to this post
    Hi JV,

    There are also built-in QueryString keys that you can use in Sitefinity 4.0. There is also a class Telerik.Sitefinity.Modules.Libraries.Images.ImagesHelper which you can use to generate thumbnails manually by passing the System.Drawing.Image object. Another option is using LibraryDataProvider and its GenerateThumbnails method.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered