Media Library Thumbnails issue
-
Gonna make this really short, basically there is no thumbnail in media library for migrated images. We just took an export .sql from old DB doing this:
“SELECT *
FROMwp_posts
WHERE post_type = ‘attachment’and just run into new DB, then changed the urls (http//www.oldsite.com/… -> http//www.newsite.com/…) and then copied the whole list of files keeping same structure.
At this point we got in the media library all images reflected, but we got this:
http://screencast.com/t/GVCBZchVff
When click on edit one of those we don’t have thumbnail for:
http://screencast.com/t/cXoh8aR6r
Any idea? The issue is that this is annoying for end user.
Thanks
-
Use this plugin to regenerate those thumbnails: http://ww.wp.xz.cn/plugins/regenerate-thumbnails/
To keep things simple, use the bulk regenerator under Tools -> Regen. Thumbnails in your blog’s Dashboard after activating the plugin.
A quick word of warning, it can take some time to complete, and it doesn’t run in the background, so don’t close your browser window while it’s running.
Thanks man, but this is whats going on
http://screencast.com/t/urd4rpd8B
759 and counting.This is what happened when done individually in each image and seems to be happening the same here.
Just made this little test in the DB to see what is in there for that ID (16517)
http://screencast.com/t/jqVlC1Zx94
Does it look good? Something else I should take care of in the “wp_posts” table?
Cheers!
Oh, this is a localhost installation then, I’m assuming from the .dev tld?
IIRC, the image thumbnails won’t load if they can’t be publicly accessed, and the thumbnail regenerator won’t work either.
Once the site goes public, it should work, and if not, the plugin will at least be able to regenerate the thumbnails.
Also, please note that we do have a localhost forum so those of us like me who are rusty on localhost installs don’t stumble into threads like this. 😉
Ok, i see, cool. I’m about to make it public in the server, just preparing details so I’ll be testing this out when ready.
Will let you know how it went.
Thanks.
You’re welcome!
I’m still having this problem on a live site after duplicating a WP installation. did you manage to fix the issue?
How do I make it public? I’m pretty sure the folder permissions are set correctly but could it be that?
The topic ‘Media Library Thumbnails issue’ is closed to new replies.