Disable default "Hello World!" when no parameters are specified
Is it possible to disable the default Hello World! graphic being generated when ImageGen.ashx is called? I have a site which had generated over 90,000 of these in the data/cached folder - presumably because sometimes a call is being made to imageGen.ashx?image= and the code isn't specifying the image (I have not managed to track it down). Or possibly an external site is calling ImageGen.ashx without any parameters.
No, there isn't. Though its something we're discussing for v3.
What version are you running? (call /imagegen.ashx?version).
I can't imagine how you got 90k of them since each file is associated with a specific combination of requests for an image. If the same request is issues with the same parameters it should use the already-cached image instead of making another one.
Let me know about the version. If it's current then I'll want to look more closely at the files and index.xml file and possibly requests from the iis log to figure out what's happening to cause such a situation.
Thanks for the quick response. I was on 2.5.7 but upgraded a few hours ago to 2.9. I deleted all the cached images. There are already 139 in the cached folder.
I can zip up the folder and send it to you if that helps?
Disable default "Hello World!" when no parameters are specified
Is it possible to disable the default Hello World! graphic being generated when ImageGen.ashx is called? I have a site which had generated over 90,000 of these in the data/cached folder - presumably because sometimes a call is being made to imageGen.ashx?image= and the code isn't specifying the image (I have not managed to track it down). Or possibly an external site is calling ImageGen.ashx without any parameters.
Thanks
Dan
Hi, Dan,
No, there isn't. Though its something we're discussing for v3.
What version are you running? (call /imagegen.ashx?version).
I can't imagine how you got 90k of them since each file is associated with a specific combination of requests for an image. If the same request is issues with the same parameters it should use the already-cached image instead of making another one.
Let me know about the version. If it's current then I'll want to look more closely at the files and index.xml file and possibly requests from the iis log to figure out what's happening to cause such a situation.
If you don't have the current version please upgrade. You can always delete the 'cached' folders and ImageGen will create new files as needed. Upgrade details at http://our.umbraco.org/projects/website-utilities/imagegen
cheers,
doug.
HI Doug
Thanks for the quick response. I was on 2.5.7 but upgraded a few hours ago to 2.9. I deleted all the cached images. There are already 139 in the cached folder.
I can zip up the folder and send it to you if that helps?
Thanks
Dan
Iiiinteresting! Yes, I'd love to see the /data/cached folder if you can zip it up for me.
Any chance of getting the latest entries from the IIS log that include imagegen.ashx in the request?
cheers,
doug.
is working on a reply...