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
I m working with imagegen. I have created a macro to create image thumbnails. And its all working when I run the site from LocalHost. The thumbnails shows up perfectly.
The problem comes when I put the the site on IIS 7. Then i get the msg "The image failed to load".
I inspected the problem with firebug and it comes with a error below:
"NetworkError: 404 Not Found - http://foss226/imageGen.ashx?image=%2fmedia%2f1001%2f1.png&width=150&height=100"
I m using umbraco 6.1.1
Hope you guys can help.
Hi Hassan and welcome to our :)
I think the reason why it fails is because the ImageGen.ashx handler is probably not found at the location specified. There was a time where it was placed directly in the root of the website but in newer releases it's actually placed inside the Umbraco folder. So you should be able to get things working by calling it like this instead
Hope this helps.
Thanks for the answer but it didnt work. Still got the same error:
"NetworkError: 404 Not Found - http://foss226/umbraco/imageGen.ashx?image=%2fmedia%2f1001%2f1.png&width=150&height=100"
My imagegen.ashx is located at the root of the website and not in the umbraco folder.
The funny thing is that my image is named 1 and it shows that instead of the thumbnail.
I solved it. Problem was that IIS couldnt read the ashx file extension. Added it to the IIS mime type and suddenly it began showing the hello world image from imagegen.aspx. The second problem was that I didnt have my url right.
On the localhost the url worked
But not on the server. I added the sitename to the url and the cropped images showed perfectly though the localhost version dont show the images now :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted