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
Hello Everyone,
I am trying to upgrade some of my websites from Umbraco 7/8 to 9. But I have a problem with the images. I am calling the following function:
image.GetCropUrl(width: width, height: height)
Which returns the media url as expected:
http://domain.test/media/9195/image.jpg?width=1000&height=100
But it just seems to ignore all query parameters and show me the original (uncropped) image.
It does work on another umbraco 9 website I have, and I don't see any differences in configuration.
Any ideas are welcome!
Hi
I think this is an issue in the Umbraco.StorageProvider's Azure Image Cache as when disabled, the crops work. It would be worth logging an issue in github.
Hi Chad,
I am not sure we use the Azure Image Cache. Unless Umbraco uses it? If so, how can I disable it to check if that works?
~Lars
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Cropped url not showing cropped image
Hello Everyone,
I am trying to upgrade some of my websites from Umbraco 7/8 to 9. But I have a problem with the images. I am calling the following function:
Which returns the media url as expected:
But it just seems to ignore all query parameters and show me the original (uncropped) image.
It does work on another umbraco 9 website I have, and I don't see any differences in configuration.
Any ideas are welcome!
Hi
I think this is an issue in the Umbraco.StorageProvider's Azure Image Cache as when disabled, the crops work. It would be worth logging an issue in github.
Hi Chad,
I am not sure we use the Azure Image Cache. Unless Umbraco uses it? If so, how can I disable it to check if that works?
~Lars
is working on a reply...