I'm using the default Umbraco "Upload field" datatype and I've set the Thumbnail size to 340;80. When I know upload a picture it creates two thumbnail-images, but they're always of the format .jpg. Even if I upload an png.
Is there a way to make thumbnails of a png-format, when I'm uploading a png, and thumbnails of a jpg-format, when I'm upload jpg's?
In my code it check for the extension of the media-item and replace the ".<extension>" with "_thumb_340.<extension>" but now it goes wrong with png-pictures.
Datatype "Upload field" thumbnail creation
Hi all,
I'm using the default Umbraco "Upload field" datatype and I've set the Thumbnail size to 340;80. When I know upload a picture it creates two thumbnail-images, but they're always of the format .jpg. Even if I upload an png.
Is there a way to make thumbnails of a png-format, when I'm uploading a png, and thumbnails of a jpg-format, when I'm upload jpg's?
In my code it check for the extension of the media-item and replace the ".<extension>" with "_thumb_340.<extension>" but now it goes wrong with png-pictures.
Thanks,
Jeffrey
Maybe this issue can give you more info: http://umbraco.codeplex.com/workitem/29167. It's fixed in v5, but not in v4.
Jeroen
Thanks Jeroen!
is working on a reply...