<img src="http://www.example.com/wp-content/uploads/http://www.example.com/wp-content/files/img/2012/01/image.jpg">
<img alt="test" src="http://www.example.com/wp-content/files/img/2012/01/image.jpg">
$("img ").attr("src",$("img ").attr("src").split('http://www.example.com/wp-content/uploads/')[1]);
<img alt="test" src="http://www.example.com/wp-content/files/img/2012/01/image.jpg">
$("img ").attr("src",$("img ").attr("src").split('http://www.example.com/wp-content/uploads/')[1]);
No comments:
Post a Comment