And my Image Cropper settings & Code are all setup the same as usual, which I've never had a problem with. For some reason the image isn't being cropped when it gets to the frontend of the site.
I've found a forum post online saying to check that ImageProcessor & ImageProcessor.dll.Web are up to date and referenced in the web.config which they are and still not working sadly!
Strange, everything looks fine, if you try to request /media/3289/20150307-fasbourn-main-hall-01_2_3_4_5_6_7-m.jpg?width=100 do you just get the original image or resized?
Ok, have you checked your folder permissions, maybe there is any issue with creating the cache folder in /App_Data/cache, do you see this folder at all?
Perhaps you could install the ImageProcesor package from here It will upgrade you from the Umbraco default v1 to v2 and also will check and replace if there are any config issues.
Seems to be working fine locally.
So there must be a problem with the server it's on. It's on a Shared Namesco hosting, although I've done work for the same client and there are multiple Umbraco installations running on the same server/hosting package with Image Croppers that work.
Do you have any idea what serverside settings would/could effect the Image Cropper?
Could you tell me
what version of ImageProcessor and ImageProcessor.Web you are
running?
Are you on shared hosting? I have a feeling that you are probably suffering from an issue where the post processor is failing on systems with certain security option set. If you are using imageProcessor.Web v4.4.1 then you could download the configuration package from Nuget and try setting postProcess to false.
Installed via NuGet and using the latest version. Generated the link with GetCropUrl().
Not reaaaally helpful for debugging. Please supply actual version numbers.
Have you got Cloudflare or something running that is set to ignore querystring parameters? 99.9999% of the time it's something with the developmental setup that is the issue not ImageProcessor.Web.
I'm working locally with my own IIS. I have another site, on the same server, with an older version of ImageProcessor that is reading the QueryString fine and outputing a processed image.
Maybe something is not set/configured right on my new Site on IIS?
Umbraco Image Cropper is not cropping
I'm using the Image Cropper in Umbraco, the URL and everything seems to be coming through correctly, for example:
And my Image Cropper settings & Code are all setup the same as usual, which I've never had a problem with. For some reason the image isn't being cropped when it gets to the frontend of the site.
I've found a forum post online saying to check that ImageProcessor & ImageProcessor.dll.Web are up to date and referenced in the web.config which they are and still not working sadly!
Hi Christopher,
A few questions for you
Jeavon
Hi,
I installed from a download, same as always.
Never installed ImageResizer
Will post web.config in the morning as I'm on my phone now :-(
Here's my web.config file.
Strange, everything looks fine, if you try to request
/media/3289/20150307-fasbourn-main-hall-01_2_3_4_5_6_7-m.jpg?width=100
do you just get the original image or resized?Hi,
That's what I thought. I've not experienced problems with the image cropper before! If I request that URL, I get the original sized image.
Ok, so not resized to 100 pixels then?
Nope, afraid not. Comes in at 1600 x 1111px
Ok, have you checked your folder permissions, maybe there is any issue with creating the cache folder in /App_Data/cache, do you see this folder at all?
The cache folder is present, although it is empty?
It should be working!
Perhaps you could install the ImageProcesor package from here It will upgrade you from the Umbraco default v1 to v2 and also will check and replace if there are any config issues.
Worth a go?
I'll give it a go and let you know how it goes.
Thanks :)
I've installed that and re-published the entire site but unfortunately still no luck.
Here's an Image URL: http://fasbournhall-co-uk.securesslhosting.co.uk/media/3289/20150307-fasbourn-main-hall-01234567-m.jpg?crop=0,0,0,0.15342123642828429&cropmode=percentage&width=370&height=250&rnd=130766770670000000
Hi Christopher,
I discussed your issue with James who created ImageProcessor and you have us both stumped....
Do you have a copy of this site on a local machine you could try it on to see if it might be something on the server?
Jeavon
Haha, that sounds daunting! I don't have it on my local machine, but I can set it up and give it a go.
I'm at work at the moment, so I'll try it tonight and I'll see how it goes and update you.
Thanks :)
Seems to be working fine locally. So there must be a problem with the server it's on. It's on a Shared Namesco hosting, although I've done work for the same client and there are multiple Umbraco installations running on the same server/hosting package with Image Croppers that work.
Do you have any idea what serverside settings would/could effect the Image Cropper?
Thanks.
Well at least that some sort of progress.
The only thing I can think of is some sort of request handling which is ignoring the query strings completely.
Update:
The issue was the URL - It's a temporary URL that the host sets up to allow access to the website. I guess Umbraco didn't like it.
Thanks for the assistance Jeavon :)
Ah great, it must have been ignoring the querystring somewhere!
Hello,
It seems that the image cropper is not working .
I am getting empty src.
Can someone please help.
thnks
Hey K,
Are you on shared hosting? I have a feeling that you are probably suffering from an issue where the post processor is failing on systems with certain security option set. If you are using imageProcessor.Web v4.4.1 then you could download the configuration package from Nuget and try setting postProcess to false.
http://imageprocessor.org/imageprocessor-web/configuration/#processingconfig
If this is not the case then please share whatever information you have and I'll try to help you
Cheers
James
Hey guys, sorry to hijack the thread but like Christopher Thrower, i'm having issues with ImageProcessor not working.
Here's a link:
Installed via NuGet and using the latest version. Generated the link with GetCropUrl().
Working locally, so no weird links also.
Best Regards
Hi Ricardo,
Not reaaaally helpful for debugging. Please supply actual version numbers.
Have you got Cloudflare or something running that is set to ignore querystring parameters? 99.9999% of the time it's something with the developmental setup that is the issue not ImageProcessor.Web.
It Just Works ™
Cheers
James
Hello James,
Here goes:
I'm working locally with my own IIS. I have another site, on the same server, with an older version of ImageProcessor that is reading the QueryString fine and outputing a processed image.
Maybe something is not set/configured right on my new Site on IIS?
Best Regards! Ricardo
is working on a reply...