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 :(

Recommended Answers

All 2 Replies

Looks like the image has no source file defined, but I cannot guess where you would need to change this.

Hi Julia,

Please let me know if this works for you:

$("img[src*='timthumb.php?src=/&w=0&h=0&zc=1&q=100']").hide()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.