Copied to clipboard

Flag this post as spam?

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

  • MaartenVissers 32 posts 149 karma points
    Feb 26, 2022 @ 09:58

    Compress images automatically

    Is there a way to compress images uploaded by the client automatically? I can't ask him to do image optimizations himself...

  • Lee Kelleher 4013 posts 15773 karma points MVP 12x admin c-trib
    Feb 26, 2022 @ 13:29
    Lee Kelleher

    Hi Maarten,

    If it's Umbraco 8, then you could take a look at the Tinifier2 package?

    If it's Umbraco 9, I'm not aware of any packages that currently do this - that's not to say they don't exist. 😄

    - Lee

  • David Walker 19 posts 90 karma points
    Jul 05, 2022 @ 11:18
    David Walker

    Did you get anywhere with this. I assumed a modern Umbraco CMS should do this as core?? I'm on V9.

  • Ambert van Unen 174 posts 811 karma points c-trib
    Jul 05, 2022 @ 14:47
    Ambert van Unen

    You could also do it the way around, return a specific format in your crops! (This is possible since V10 with now has ImageSharp V2)

    var cropUrl = blog.GetCropUrl(cropAlias:"Small", furtherOptions:"&format=WebP");

    Now all your crops are easily converted to WebP formats.

Please Sign in or register to post replies

Write your reply to: