I have this set of code:
This creates thumbnails on my webpage. In internet Explorer, they show up fine, but in Firefox they do not. I checked the image properties (right click -> properties). In IE, it is listed as a JPEG, but in FF, it says text/html. I have a feeling the browser isn't getting the encoding type correct. It's somehow seeing it come across as a string, instead of an image.
$('#thumbnails').append("<img src='gfx/liquidation/"+id+"/thumbs/"+photo+"' class=\"thumbnails\" onclick=\"loadImage('"+id+"', '"+photo+"')\" />");
This encoding is in the header:
I'm not sure what to do... Should I use [CDATA] tags around the image name in the XML file? Any help would be appreciated.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8;" lang="en" />