Generate Thumbnail URL

Posted by Community Admin on 04-Aug-2018 21:33

Generate Thumbnail URL

All Replies

Posted by Community Admin on 03-Oct-2013 00:00

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:

localhost/.../myimage.jpg

to this:

localhost/.../myimage.tmb-featured.jpg

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

Thanks

This thread is closed