There is no umbraco library to this as far as I know.
However, umbraco will always generate thumbs in the follow format: filename_thumb_size.jpg , so it should be simple to write a small utility function to do this for you.
This only applies if you are using custom sizes in the upload datatype, if not, you can retrieve the default thumbnail.
Get Thumb Image location in frontend from Upload Image Control
Hi All,
I am currently using umbraco.linq
and want to get the image location which I have set up using Upload Image Umbraco control at backend/cms.
When I upload an image in CMS it gives me this 2 file
hydrangeas.jpg and hydrangeas_thumb.jpg
but when I get it from Umbraco.Linq at frontend, I only get hydrangeas.jpg.
How to get the thumb image ? Is there any umbraco library to do this ?
Thanks
There is no umbraco library to this as far as I know.
However, umbraco will always generate thumbs in the follow format: filename_thumb_size.jpg , so it should be simple to write a small utility function to do this for you.
This only applies if you are using custom sizes in the upload datatype, if not, you can retrieve the default thumbnail.
Hope this helps.
is working on a reply...