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
Umbraco version: 7.7.7.
Im using the grid and has created a customized Grid Editor where I try to make a cropped image. The image looks fine in the backend in the grid but when its rendered the image is not cropped as it should.
In the backend the image looks looks like this:
But when its rendered it looks like this:
This is the grid editor:
{ "name": "Bild beskuren", "alias": "bildBeskuren", "view": "media", "icon": "icon-picture", "config": { "size": { "width": 1600, "height": 480 } } }
Found the error:
For some reason a "," was in the focal point instead of ".", as:
<img src="/media/1037/4c6a6663.jpg?width=1600&height=480&center=0,5,0,5&mode=crop">
Why I dont know.
Hi Fredrik, did you manage to find a (quick) solution to this? Even in v8 the decimal-divider is presented as a , instead of a . Thanks,
Guido
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Focal point not rendering correctly
Umbraco version: 7.7.7.
Im using the grid and has created a customized Grid Editor where I try to make a cropped image. The image looks fine in the backend in the grid but when its rendered the image is not cropped as it should.
In the backend the image looks looks like this:
But when its rendered it looks like this:
This is the grid editor:
{ "name": "Bild beskuren", "alias": "bildBeskuren", "view": "media", "icon": "icon-picture", "config": { "size": { "width": 1600, "height": 480 } } }
Found the error:
For some reason a "," was in the focal point instead of ".", as:
Why I dont know.
Hi Fredrik, did you manage to find a (quick) solution to this? Even in v8 the decimal-divider is presented as a , instead of a . Thanks,
Guido
is working on a reply...