$('#thumbnails').append("<img src='gfx/liquidation/"+id+"/
thumbs/"+photo+"' class=\"thumbnails\" onclick=\"loadImage('"+id+"',
'"+photo+"')\" />");
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.
This encoding is in the header:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8;"
lang="en" />
I've had this problem occur in a number of places, and not just with
JQuery language... (also with Google Maps API)... Can anyone explain
why this happens? What is a possible solution?
Thanks in advance
No comments:
Post a Comment