Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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?
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,
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
is working on a reply...
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.
Continue discussion
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
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?
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,
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
is working on a reply...
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.