Sick of those disgusting image not found signs?

  • 1
  • Idea
  • Updated 8 years ago
Are you sick of these things?

Would you like to make them look better? Here's a way to make your own image not found signs.

&lt;script src=&quot;http://code.jquery.com/jquery-latest.min.js &quot; type=&quot;text/javascript&quot;&gt;&lt;script&gt;<p/>&lt;script type=&quot;text/javascript&quot;&gt;<p/>$(document).ready(function(){<p/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
$(&quot;img&quot;).error(function(){<p/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
$(this).attr(&quot;src&quot;,&quot;errorimageurl&quot;);<p/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });<p/>});<p/>&lt;/script&gt;<p/>

Replace errorimageurl with the url of your custom image not found
image.

Enjoy!!

Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
  • happy

Posted 8 years ago

  • 1
Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
p.s, you'll have to put the full length of the script src in, the forum turned it into a shortened link.
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Thanks for sharing this tip Kevin, I'm sure lots of people will find it useful!
Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
Your welcome Laura!