Copied to clipboard

Flag this post as spam?

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


  • Nora 26 posts 95 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 11258 posts 23500 karma points MVP 7x 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 3008 posts 13221 karma points MVP 7x 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>
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies