Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 629 posts 1016 karma points
    Mar 03, 2014 @ 16:24
    Dan Evans
    0

    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

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 03, 2014 @ 16:31
    Douglas Robar
    0

    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.

  • Dan Evans 629 posts 1016 karma points
    Mar 03, 2014 @ 16:38
    Dan Evans
    0

    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

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 03, 2014 @ 16:39
    Douglas Robar
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft