Copied to clipboard

Flag this post as spam?

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


  • Andy 12 posts 92 karma points
    Jun 08, 2016 @ 14:56
    Andy
    0

    Slimmage Issue

    I have added slimmage to a website by following the blog below

    https://umbraco.com/follow-us/blog-archive/2014/5/30/developing-a-website-with-responsive-images-using-the-umbraco-v714-image-cropper/

    I can see that the img's are getting wrapped with no script but the src property is not being set on the image, the data-src property is being set

    I have also noticed that slimmage is not outputting anything to the console.

    Has anyone came across this issues before.

    Thanks in advance,

    Andy

  • Mike 18 posts 39 karma points
    Jun 08, 2016 @ 15:21
    Mike
    0

    It's sounds like the mark-up is there but the javascript part of Slimmage is not running - have you in included the javascript files in your HTML?

  • Andy 12 posts 92 karma points
    Jun 08, 2016 @ 15:33
    Andy
    0

    Hi Mike,

    Yes, I've ripped everything out into a test project and I'm still seeing the same issue, I have managed to get output to the console now which is as follows

    Slimmage: restored 1 images from noscript tags, checked 1 images, changed 0. 2ms

    If i inspect the dom the img src attribute is still not set

    Thanks,

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2016 @ 16:45
    Dennis Aaen
    0

    Hi Andy,

    There have been some changes to the code how to get the crop out in a partial view, if you are using version 7.3.5+ of Umbraco CMS.

    Try to see this documentation https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/image-cropper

    Hope this helps,

    /Dennis

  • 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