Support » Plugin: Add Linked Images To Gallery » [Plugin: Add Linked Images To Gallery] Blogger: Prevent imported images from linking back

  • I noticed that when you import Blogger posts into WordPress, the posts images are surrounded by anchor tags. So, after running this plugin, the images are stored locally, but clicking on them still takes you back to Blogger. Verry annoying. Fortunately, I devised this quick and easy solution, which you can place in the <head> of your template header.php file:

    <script type="text/javascript">
    	$(document).ready(function() {
    		$('a:has(img[id*="BLOGGER"])').removeAttr("href");
    		$('a:has(img[id*="BLOGGER"])').css("cursor", "default");
    		$('img[id*="BLOGGER"]').css("cursor", "default");
    	});
    </script>

    Hope this helps! Let me know if you found any other solutions.

    http://wordpress.org/extend/plugins/add-linked-images-to-gallery-v01/

  • The topic ‘[Plugin: Add Linked Images To Gallery] Blogger: Prevent imported images from linking back’ is closed to new replies.