Go to the developer section, then go to datatypes and choose the upload datatype. There you can set the thumbnail sizes to be generated seperated with a semicolon e.g. 100;200;300
This will generate filenames like this : image.jpg, image_thumb.jpg, image_thumb_100.jpg,image_thumb_200.jpg,...
Hi, Thanks for the answers. Right now I'm using the Media picker to handle the pictures - should I use instead the upload datatype? Why though in all the examples I founded online they use the Media picker? Is it possible to do it also with the media picker?
I looked into the Media picker under the developers section (Data types) and there is nothing about Thumbnail sizes under the settings (like with the "upload"). The only settings are: Show preview and Show advanced dialog - how do I access the thumbnails which the media picker generate as well as how do I modify them to my needs? (I need 140px width / 225px widh and 350px width)
How to create Thumbnail in Umbraco using WebImage? (with Razor)
I try to create 2-3 Thumbnails for each photo I upload with the Mediapicker.
It's mean - every photo that upload should have 140x100 version and 350 x 200 version.
I don't want to use the ImageGen so I found this article about the WebImage helper - with this code:
http://www.asp.net/web-pages/tutorials/files,-images,-and-media/9-working-with-images
But it's not work (Just created new Razor Script - not work .. ) - how do I do it?
Thanks.
Hey Meni,
You can get thumbnails created automatically everytime you upload an image using Umbraco, watch one of Doug Robar's "Did you Know" videos.
Rich
Hi Mini,
I just found the video where Doug Robar's explains about the Thumbnail in Umbraco. But he shows how to print it in XSLT.
http://stream.umbraco.org/video/2198461/did-you-know (see from 26:20 min to 27:20).
/Dennis
You can set this on the upload datatype.
Go to the developer section, then go to datatypes and choose the upload datatype. There you can set the thumbnail sizes to be generated seperated with a semicolon e.g. 100;200;300
This will generate filenames like this : image.jpg, image_thumb.jpg, image_thumb_100.jpg,image_thumb_200.jpg,...
Dave
Hi, Thanks for the answers. Right now I'm using the Media picker to handle the pictures - should I use instead the upload datatype? Why though in all the examples I founded online they use the Media picker? Is it possible to do it also with the media picker?
Hi Meni,
The media picker uses the upload type internally to create new items. So it will also create all the thumbnails.
Dave
Hi Dave, Thanks.
I looked into the Media picker under the developers section (Data types) and there is nothing about Thumbnail sizes under the settings (like with the "upload"). The only settings are: Show preview and Show advanced dialog - how do I access the thumbnails which the media picker generate as well as how do I modify them to my needs? (I need 140px width / 225px widh and 350px width)
Thanks
Hey Meni,
Have to ask, why don't you want to use ImageGen? It's free and you could have this functionality in 5 mins.
Rich
Hi Meni,
You will need to set the sizes on the Upload datatype. The mediapicker datatype will use these.
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.