View Full Version : IMG Tag help needed

07-25-2011, 08:04 PM
I'm a bit puzzled as to why my image won't display. The image is on the server in the html_public folder so it should find it by default.

The IMG tag is created like this with a clear image:

<IMG ID="image_pop_fields" SRC="progress_clr.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="">

This line in my init() JS function is susposed to display the progress image but a small blank square displays instead (no red x).


I don't know why the image won't display :confused:

07-26-2011, 12:44 AM
You know of course that you are wrapping your code with the php code button? The '#' is better, but I know what your talking about.

I see no reason due to code why this don't work. Is your html page in the same html_public folder? If not we have the cause.

Put the images in the same folder as the code.

PS. your using old tag code
<img id="image_pop_fields" src="4.jpg" width="583" height="600" alt="" style="border: 0;" />
Lower case and 'border' is a css attribute now.