Persits Software, Inc. Knowledge Base Articles

Images aren't displaying / "Red X" in place of image

Problem Description

Images that load using AspJpeg on the server are failing to load and/or showing a red X icon.


This problem is almost always caused by the AspJpeg server script throwing an error. To see what error is occurring, right-click on the image and choose Properties. Copy the image URL and enter it directly into the address bar of a browser window.

You may have to turn off Friendly HTTP error messages in IE to see the error message. Go to Tools - Internet Options - Advanced and uncheck "Show friendly HTTP error messages".

Also, ensure that the script using Jpeg.SendBinary contains no HTML tags or other content (check for stray whitespace as well.) The entire file should be within <% %> tags.