Missing IMG src

Tags: , , , , , , ,
Posted in dotnet, vb, vb.net | No Comments »

Hey my application has a map that is drawn with custom marker images rendered on OpenLayers VectorLayer. The problem here is that I see a lot of requests to the page that has this map and this comes to the server and all the server side code written for that page is executed and HTML is returned to the client and I get an error saying

Resource interpreted as image but transferred with MIME type text/html.

My guess is that the markers rendered on the page are rendered as img controls but their src is set to blank. You can read more about what happens when your control is having the src value as empty here: http://www.nczonline.net/blog/2009/11/30/empty-image-src-can-destroy-your-site/

I want to find out if these markers are what that is causing the problem or something is kicking off a infinite redirect which is not the case as I always see that it stops after a certain no of requests.

As mentioned in the post above it happens only on Webkit browsers and not on FFX.

Can someone help me find out the src of these requests if there is someway I can track it.

Thanks in Advance.

Similar:

  1. Simple extender examples not working, what am I missing? I downlaoded and installed the Ajax Control Toolkit yesterday and have been trying to work through the examples to familiarise myself with its use. Each...
  2. One Master CSS, or Different Files? I have it on good authority that unused CSS is bad, which leads me to believe that putting the CSS for every page in one...
  3. Javascript include not working when inline code works … I gotta be missing something obvious I won't go into the drudgery of explaining the details … I want to externalize my javascript … you'll probably get it.   When I...
  4. How do display asp:panels on same line? The markup below displays the panels one below the other. What I would like to do is display them right next to each other. Here...
  5. Redirecting image to php page. Hi, Is it possible to redirect a user to a php page and then redirect to different image, if the user is requesting for the...

Tags: , , , , , , ,

Leave a Reply