Copied to clipboard

Flag this post as spam?

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


  • Nora 28 posts 97 karma points
    Dec 17, 2014 @ 02:04
    Nora
    0

    image quality

    Great package! One question: how can I change the image quality? Did I miss that point anywhere?

    Thanks a lot for your help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 17, 2014 @ 05:56
    Jan Skovgaard
    0

    Hi Nora

    I believe you should be able to change the quality by using the options that image processors offers you - It's not a slimsy thing as I understand it.

    See James South's article about image processors here http://24days.in/umbraco/2014/all-your-images-are-belong-to-umbraco/

    You shoud be able to set it like this

    <img src='@CurrentPage.GetCropUrl("image", "banner")&quality=70' />
    

    Hope this helps.

    /Jan

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Dec 17, 2014 @ 10:26
    Jeavon Leopold
    3

    @Jan sorry that wont work for Slimsy :)

    @Nora, somewhere you hopefully have a Slimmage settings js snippet (either in the template or in a separate js file), here you can add quality values as below:

    <script type="text/javascript">
        window.slimmage = { verbose: false, jpegQuality: 90, jpegRetinaQuality : 80 };
    </script>
    
Please Sign in or register to post replies

Write your reply to:

Draft