Copied to clipboard

Flag this post as spam?

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

  • Shane Boyed 1 post 21 karma points
    Jul 21, 2014 @ 01:38
    Shane Boyed

    Some Remote Images not disaplaying

    Hi There

    We have a site that is pulling image from

    Most images display. Some don't. Can't working out why. We need urgent help on this one.

    This link works:

    <img src="/Imagegen.ashx?image=;class=listing">

    The link doesn't work:

    <img src="/Imagegen.ashx?image=;class=listing">

    The images are on the remote server.




  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jul 21, 2014 @ 15:08
    Douglas Robar

    Hi, Shane,

    Thanks for the note about the problem you're having. It seems as though it should all work properly but let's see if we can double-check some things and figure out what the problem is.

    If of all, you need ImageGen Professional active, and you'll want to use the latest version of ImageGen (v2.9.1). If you use the ?version querystring parameter you should see something like this with the url:

    ImageGen Professional version
    Professional features are available for localhost
    Professional features are available for *.local
    Professional features are available for
    Professional features are available for

    If you only have ImageGen Basic displayed then you don't have a key for the domain you're using ImageGen from.

    Is there any chance that you have multiple servers, possibly from different domains, that are making the requests with ImageGen? Each server would need its own entries in the web.config and imagegen.config files. Perhaps one server doesn't have the remote domain whitelisted in the imagegen.config file? Or perhaps there is no "listing" class in one of the imagegen.config file?

    Is there any chance you have a load-balanced environment? That can cause some problems depending on how you've set up file replication between web servers. There's a helpful discussion at,-high-CPU-and-memory-usage that would be good reading if you have a load-balanced environment.

    Lastly, I notice that sometimes the response time from is very slow. That might be a function of my location compared to the cdn source but if a remote request times out ImageGen won't be able to display the resized remote image. The time taken to resolve the DNS name and the full period it takes for the cdn to return all the data in the source image to imagegen.ashx are all part of the overall time. Similarly, your webserver might have a timeout period that aborts a request to imagegen.ashx if it is taking too long?

    Hope this helps. Let me know what you find out.


Please Sign in or register to post replies

Write your reply to: