I have a VFpage that runs perfectly on the web.
Resource interpreted as Image but transferred with MIME type application/zip: "https://c.ap1.visual.force.com/resource/1412349895678/MyResources3?isdtp=p1/img/Rose.png"
Here is a code sample For example: My Static resource looks like this:
My Visualforce code is
$("#flower_page").html( "<div class=\"img-flower\"><img src=\""+resourceId+"/"+ Rose.jpg + "\" width=\"50\" height=\"50\" /></div>" );
This would emit the following code.
<img src="/resource/1412387865123/MyStaticResource/img/Rose.jpg" width="50" height="50" />
I use jquerymobile so that the app looks appropriate on a mobile device.
I read this article and tried using data-src, but didnot work.
Any help is appreciated.