• 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 *
    FROM wp_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:

    https://screencast.com/t/GVCBZchVff

    When click on edit one of those we don’t have thumbnail for:

    https://screencast.com/t/cXoh8aR6r

    Any idea? The issue is that this is annoying for end user.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Use this plugin to regenerate those thumbnails: https://www.ads-software.com/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.

    Thread Starter oxcarga

    (@oxcarga)

    Thanks man, but this is whats going on
    https://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)

    https://screencast.com/t/jqVlC1Zx94

    Does it look good? Something else I should take care of in the “wp_posts” table?

    Cheers!

    Moderator James Huff

    (@macmanx)

    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. ??

    https://www.ads-software.com/support/forum/localhost-installs

    Thread Starter oxcarga

    (@oxcarga)

    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.

    Moderator James Huff

    (@macmanx)

    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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Media Library Thumbnails issue’ is closed to new replies.