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.
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.
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
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
Great article, exactly the sort of info I was looking for :)
Thanks
You are very welcome. Just ask for help if you struggle with something. This community is pretty helpful :)
is working on a reply...