Detect mime type of an image via Javascript

Posted by ricky2002 on Stack Overflow See other posts from Stack Overflow or by ricky2002
Published on 2010-05-06T19:32:27Z Indexed on 2010/05/06 19:38 UTC
Read the original article Hit count: 190

Hi, i am detecting images on my webpage with javascript document.images function which returns an rray of images. Is there any way to get the mime type of the image from this since i am not using any extension names on images which are loading?

© Stack Overflow or respective owner

Related posts about web

Related posts about web-development