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 150 karma points
    Feb 26, 2022 @ 09:58
    MaartenVissers
    0

    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 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 26, 2022 @ 13:29
    Lee Kelleher
    0

    Hi Maarten,

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

    https://our.umbraco.com/packages/backoffice-extensions/tinifier2/

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

    Cheers,
    - Lee

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

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

  • Ambert van Unen 175 posts 818 karma points c-trib
    Jul 05, 2022 @ 14:47
    Ambert van Unen
    2

    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.

  • nehakakar 14 posts 84 karma points
    Dec 12, 2023 @ 12:41
    nehakakar
    0

    It uses TinyPNG's smart lossy compression techniques API, significantly reducing file sizes while maintaining high visual quality. It allows 500 free requests monthly, which might be insufficient for large websites, but I would recommend online tool like https://jpegcompressor.com/ for compressing various image formats, including JPEG, PNG, JPG, SVG, and WEBP. This tool optimizes images efficiently while maintaining quality.

Please Sign in or register to post replies

Write your reply to:

Draft