The Blogger Image Import WordPress plugin that I wrote some time ago is getting a bit old and has some issues with the newer blogger structure.
People have continued to use this plugin, and some have even made suggestions on how to fix it in the comments of that page.
I have collected some of that information here if anyone is still interested in using this plugin. I do not have time to update the plugin, but I am happy to include fixes that others have made to it.
There are two main issues that I know of now.
- The domain on which the images are hosted is not constant. It has changed over time from blogspot.com to blogger.com
- The links to the full size images are actually links to html pages that contain the image
Some commenters have pointed out some solutions. Those are
- Run the script once with the image server domain set to blogspot.com and again with it set to blogger.com. Ultimately, it would be best if the script were updated to support both, or possibly any other domain as there is no reason to restrict it to just those two, but then it might import images that were intended to be linked.
- If the name of the image contains “s1600-h” remove the “-h” and convert it to “s1600” when importing. It seems that Blogger is currently storing the images at those locations.
Here is a link to a version of the script that was sent to me by JT and described on the comment page
I have not tested it, so use it at your own risk, but it looks good and shows the changes that were made to the original. Look for “MODIFIED:” comments in the script for a description of the changes.
I welcome any updates that people make to improve the script. If you find any issues, or fix the existing issues better, please let me know and send a copy of your fixes so we can share them with others.
I just ran this on a few images with the lates (2.9.2) version of WordPress. It seems to be moving the images over, however the new URLs are coming through as “http://mydomain.com//blogger/_cyone-pfcK8blahblah” rather than “http://mydomain.com/wp-content/uploads/blogger/etc”
I don’t know enough PHP to hack the script but it seems like it should be something pretty simple. Hope someone can troubleshoot the issue so the script remains useful. Anyone else seeing this?
I see the same issue. Even though they end up under /blogger/ all posts are still referring to blogspot.com 🙁
I used this plugin today for a client, it’s a pretty good start. I made a couple of modifications to handle non-standard upload directories and loosened up the regex a bit to grab more images.
Ultimately, it missed about 10% of the images with about 1% of that being images wrapped in links that weren’t the image itself.
I’ll probably make a few more modifications to it to handle multiple image types. (It originally only handled jpg and I had gif and png files as well. I just did a quick search/replace and uploaded it again to deal with the other types for now.)
Is this plugin on wordpress.org? Who manages the plugin, eventually the modifications I’m making could be useful to other people.
This plugin would be great if some of these issues were solved? Are the plans to update the plugin?
Try Cache Images which adds images from any domain (including all Blogger’s domains much smarter than Blogger Image Import) to WordPress media library and default upload directory.
If you have any issues with it or have questions/requests, feel free to send them to me.
.sorry but… Cache Images plug-in is quite far away from this one
http://wordpress.org/extend/plugins/cache-images/installation/
.it makes it perfectly!
Hi there! Do you know if they make any plugins to protect against hackers?
I’m kinda paranoid about losing everything I’ve worked hard on.
Any suggestions?