Hide Broken images
i hired a developer to customize a wordpress template, it seem ok but when i use certain feature in the template
it show a small broken image above the main image, when i right click to open image in new tab it has this "Invalid src mime type:"
and i think its in the php of timthumb (/timthumb.php?src=/&w=0&h=0&zc=1&q=100)
is it possile to hide this that using its url?
ive found some scripts and i dont know if related
but this might help
this seem working but dont know how to modify the script to hide the url
using jquery
var link = $('a[href*="<a href="http:.../themes/template/scripts/timthumb.php?src=/&w=0&h=0&zc=1&q=100">anotherdomain/>"]').attr("href");
<body>
<img src="http://parkerbusinessplanning.com/wp/wp-content/themes/bitwork/scripts/timthumb.php?src=/&w=0&h=0&zc=1&q=100" />
</body>`
heres another but not working
$("img").error(function(){
$(this).hide();
});
i tried contacting the developer but im not getting any response :(
Julia25
Junior Poster in Training
55 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Looks like the image has no source file defined, but I cannot guess where you would need to change this.
pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98