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
Hey
This seems like a bug - but maybe someone knows what to do...
I've got a rather big .png file (3.4mb) that I'm displaying in different crops.
If I try to get a square crop it seems to fail and I'm getting the full image.
Examples This will give me a cropped image - perfect!
media/1108/boat.png?mode=crop&width=600&height=500&rnd=130556037350000000
This will give me the full image - no good!
media/1108/boat.png?mode=crop&width=500&height=500&rnd=130556037350000000
Also when the height > width I get the full image...
Help?
Hi Tom,
Sounds very strange, what are the dimensions of your original image?
Is this online anywhere yet we could see?
Jeavon
Hi Jeavon,
After restarting my computer today, I can not recreate...so never mind :)
Oh, I can recreate it. Seems like it a cache problem - and when I manually change the random the image is cropped correctly.
Hmm, maybe clear the cache, delete everything in /App_Data/cache
that didn't work. But I tried uploading the same image, with a different name and now it does what it's supposed to. So somewhere there is some cache that doesn't get cleared, even when you change the querystring.
That is very strange, are you sure you don't have a ISA server or something similar?
If you have emptied /App_Data/Cache/ then there is no other cache generated by ImagePrcoessor.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
ImageProcessor not performing crop when width equals height
Hey
This seems like a bug - but maybe someone knows what to do...
I've got a rather big .png file (3.4mb) that I'm displaying in different crops.
If I try to get a square crop it seems to fail and I'm getting the full image.
Examples This will give me a cropped image - perfect!
This will give me the full image - no good!
Also when the height > width I get the full image...
Help?
Hi Tom,
Sounds very strange, what are the dimensions of your original image?
Is this online anywhere yet we could see?
Jeavon
Hi Jeavon,
After restarting my computer today, I can not recreate...so never mind :)
Oh, I can recreate it. Seems like it a cache problem - and when I manually change the random the image is cropped correctly.
Hmm, maybe clear the cache, delete everything in /App_Data/cache
that didn't work. But I tried uploading the same image, with a different name and now it does what it's supposed to. So somewhere there is some cache that doesn't get cleared, even when you change the querystring.
Hi Tom,
That is very strange, are you sure you don't have a ISA server or something similar?
If you have emptied /App_Data/Cache/ then there is no other cache generated by ImagePrcoessor.
Jeavon
is working on a reply...