Copied to clipboard

Flag this post as spam?

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


  • HitTheSky 7 posts 79 karma points
    Jun 15, 2016 @ 09:27
    HitTheSky
    0

    Media size & compression

    Hi,

    I've recently been looking into website optimization, and it's became apparent that a lot of the media files a user uploads into the media folder or through the rich text editor are not sized correctly and haven't been compressed.

    I can set the height and width for any given media item through css, but this still doesn't prevent the user from using media with inappropriate sizes which then results in poor quality, especially via the Rich Text Editor

    Is there a way to allow a user to re-size and compress their media or settings available I can put in place.

    Thanks

  • Arjan Woldring 124 posts 231 karma points
    Jun 15, 2016 @ 10:03
    Arjan Woldring
    1

    Hello,

    This article is probably useful for you. http://24days.in/umbraco/2014/all-your-images-are-belong-to-umbraco/

    It explains various image optimizations you can implement. The part I for sure use is explained in the chapter 'Pre processing'. It has also an code example for you to use.

    Good luck!

    Arjan

  • HitTheSky 7 posts 79 karma points
    Jun 15, 2016 @ 14:40
    HitTheSky
    0

    Great article, exactly the sort of info I was looking for :)

    Thanks

  • Arjan Woldring 124 posts 231 karma points
    Jun 16, 2016 @ 13:53
    Arjan Woldring
    0

    You are very welcome. Just ask for help if you struggle with something. This community is pretty helpful :)

Please Sign in or register to post replies

Write your reply to:

Draft