Does anybody have a clue why the image isn't cropped on the prodcution server. I changed the number of the rnd parameter to make sure the image isn't cached.
I most certainly replied to a similar topic yesterday. Somehow i can't find my post nor the thread. Image processor, the engine used to crop images, will save the cropped image somewhere in App_Data. Maybe you didn't deployed that folder, hence the cropped image isn't show. You could try resaving the media item to ensure cropped image are created.
Wing, I already did that and it didn't solve the problem.
But I don't realy understand if this could be the problem. When I change the widht and height value of the query string parameters in the image url, the cropping is applied with these new width and height on my development machine without any problem, without the need of resaving the media item. But on the production website, no cropping is applied at all.
I found the solution, the ImageProcessor module wasn't served because the shared hosting environment was not running in Integrated Pipeline. After changing the cropping worked perfectly fine.
Why does image cropping not work on production using the mode=crop query string parameter
Hi,
On my development machine images get's cropped perfectly in my Umbraco 7.2.8 installation. So when I request the following URL:
I get a nicely cropped image.
When I do the same on my production website (which is a complete new copy of the website on my development machine), the image doesn't get cropped.
So this url:
gives me the following result:
Does anybody have a clue why the image isn't cropped on the prodcution server. I changed the number of the rnd parameter to make sure the image isn't cached.
Thanks! Gert.
I most certainly replied to a similar topic yesterday. Somehow i can't find my post nor the thread. Image processor, the engine used to crop images, will save the cropped image somewhere in App_Data. Maybe you didn't deployed that folder, hence the cropped image isn't show. You could try resaving the media item to ensure cropped image are created.
Wing, I already did that and it didn't solve the problem.
But I don't realy understand if this could be the problem. When I change the widht and height value of the query string parameters in the image url, the cropping is applied with these new width and height on my development machine without any problem, without the need of resaving the media item. But on the production website, no cropping is applied at all.
Regards, Gert.
I found the solution, the ImageProcessor module wasn't served because the shared hosting environment was not running in Integrated Pipeline. After changing the cropping worked perfectly fine.
is working on a reply...