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

Forums / Developing with Sitefinity / Generate Thumbnail URL

Generate Thumbnail URL

1 posts, 0 answered
  1. Justin
    Justin avatar
    9 posts
    Registered:
    29 Jul 2013
    03 Oct 2013
    Link to this post
    Hey,

    I have set up a new thumbnail in the settings for Sitefinity 6.1 and applied the thumbnail type to my library. Now I need to figure out how to get Sitefinity to return the URL for that thumbnail in a module I built. I read the best way to do this is to use regex to convert this url:

    http://localhost/images/default-source/Donations/myimage.jpg

    to this:

    http://localhost/images/default-source/Donations/myimage.tmb-featured.jpg

    Is there a better way to achieve this result? The object in question is a ProductImage object.

    Thanks
1 posts, 0 answered