Support » Plugin: Blogger Importer » Images Not Importing

  • Resolved Bdwatt0

    (@bdwatt0)


    Posts, comments, and categories are imported fine. However, all img src tags are being stripped during the import. No images appear.

Viewing 4 replies - 1 through 4 (of 4 total)
  • That has been happening to me as well. Turns out there is an easy fix – edit blogger-importer.php (Dashboard -> Plugins -> Editor) then find the line
    function import_image($post_id, $lowrez, $highrez, $description, $imgcount, $postcontent, $blogname, $author) {
    (on my installation it’s line 613) and add the line of code
    if (is_null($description)) { $description = ''; }
    immediately below. Then if you re-run the importer you should get all the images (though you’ll need to delete the imported posts if you’ve already run it as it’ll skip the posts if it thinks they’ve already been imported).

    • This reply was modified 4 years, 3 months ago by db9052.

    Or as it turns out you can use the development version in which this bug is fixed…

    You’re a bloody life saver mate.. thanks so much for this is sorted me out big time 😀

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    This bug is now fixed in the existing version 0.9. We are holding off on updating the version of the plugin itself until we have more substantial changes to make to it.

    If you have the old version 0.9, simply uninstall and reinstall the plugin to get the new version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images Not Importing’ is closed to new replies.