Using jQuery to tidy up missing Images

added by siphilp
2/21/2012 2:14:44 PM

4 Kicks, 263 Views

Clean up missing images with a couple of lines of jQuery goodness.


3 comments

dpeterson
2/21/2012 2:15:14 PM
I like the solution, but I'm curious what the advantages are to doing the work on the client side vs checking for the image on the server side?

siphilp
2/21/2012 2:34:48 PM
What happens if you don't have access to the code behind say a cms that you have little control over? :)

dpeterson
2/21/2012 2:38:23 PM
Oh ok, I was thrown off because the article mentioned checking on the server side. In that case this would be a great solution.