More in this section

Forums / Developing with Sitefinity / Change default width and height of thumbnail selector

Change default width and height of thumbnail selector

4 posts, 0 answered
  1. Fabien
    Fabien avatar
    3 posts
    Registered:
    20 Jul 2011
    20 Jul 2011
    Link to this post
    Hi,

    I use a thumbnail selector for my news : http://www.sitefinity.com/blogs/slavoingilizov/posts/11-02-11/creating_a_thumbnail_selector_for_news_items.aspx. I find it very usefull but I have just one problem... I wanna change the default size of the thumbnail. I search in all the files without success.

    Thanks for your answers!

    Fabien
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    21 Jul 2011
    Link to this post
    Hi Fabien,

    The thumbnail you see after you upload a desired image is automatically generated during the uploading of the image. But you can edit them on the fly, as I would not recommend it because it will lead to some serious performance issues. Anyway, you need to bind to the ImageURL property instead of the ThumbnailURL and add to the url query string size  = " your desired size " ( in pixels ).

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Fabien
    Fabien avatar
    3 posts
    Registered:
    20 Jul 2011
    22 Jul 2011
    Link to this post
    Hi Victor,

    How can I do that? Could you give me an example please? Sorry but i'm a beginner in Sitefinity... Or should I use a more simple thumbnail creator? 

    Thanks for your answer!

    Fabien
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    22 Jul 2011
    Link to this post
    Hi Fabien,

    We do not have out of the box example for this particular scenario. The best way to use the thumbnail feature is to apply Slavo's implementation because any other may result in loss of performance.

    Best wishes,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered