mplsdancehall
|
Here is the rest of my message....
This is the suggested Javascript:
(function(){ for(i=0;i<nodes.length;i++){ nodes.onerror=nodes.src='http://exampledomain.com/path-to-default-image'; } })();
This is a suggested jquery:
$(document).ready(function(){ $("img").each(function(){ $(this).attr("onerror","this.src='http://exampledomain.com/path-to-default-image'"); }); });
This is another suggested jQuery:
// Replace source $('img').error(function(){ $(this).attr('src', 'missing.png'); }); // Or, hide them $("img").error(function(){ $(this).hide(); });
Do any/all of these look valid? and if so, where/how exactly would I add them - either in the Artisteer program, or in the Joomla backend Template manager? I've tried some of the codes in the export options in Artisteer but whatever I did, did not seem to work.
- - - -
Alternately, if anyone knows any other tricks/tips for completely deleting each broken image completely - maybe something in the database? or a Joomla extension.... any advice is greatly appreciated!!!
Thanks!!
|