Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    May 02, 2012 @ 10:47
    Jeffrey Schoemaker
    0

    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

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    May 02, 2012 @ 12:30
    Jeroen Breuer
    0

    Maybe this issue can give you more info: http://umbraco.codeplex.com/workitem/29167. It's fixed in v5, but not in v4.

    Jeroen

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    May 03, 2012 @ 11:52
    Jeffrey Schoemaker
    0

    Thanks Jeroen!

Please Sign in or register to post replies

Write your reply to:

Draft