Copied to clipboard

Flag this post as spam?

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


  • [email protected] 378 posts 1915 karma points MVP 4x c-trib
    May 02, 2012 @ 10:47
    jeffrey@umarketingsuite.com
    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 4861 posts 12138 karma points MVP 3x 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

  • [email protected] 378 posts 1915 karma points MVP 4x c-trib
    May 03, 2012 @ 11:52
    jeffrey@umarketingsuite.com
    0

    Thanks Jeroen!

  • 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.

Please Sign in or register to post replies