Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello i have the same problem, the thumbnails show up on localhost, not on the remote server.

    Did you get a solution to this problem?

    same problem here, I’ve searched and searched but couldn’t find a solution or fix… any news?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    When you moved the database to the new server, did you go through it and fix all the now-different URLs and file paths?

    Moving things like this is not simple. It’s not designed to be moved around. You’ll need to manually fix the database to correct the changed file paths.

    An Export/Import operation does not have this problem, but a straight SQL dump/restore will.

    fenstermacher

    (@fenstermacher)

    I’ve run into the same issue as viscocity. I restored a WordPress 2.6.3 site locally to work on theme and realized this issue with image sizing with gallery shortcode.

    I did go through database and fix all the different URLs and file paths. Also tried importing over the existing system but it didn’t make any difference. Import has some issues of its own anyway.

    I notice the size attributes and the name of the thumbnail or medium image isn’t referenced in the generated html after a restore.

    Instead of img src=”https://www.whatever.com/wp-content/uploads/2008/09/something-150×150.jpg” width=”150″ height=”150″ class=”attachment-thumbnail”,

    you just get img src=”https://www.whatever.com/wp-content/uploads/2008/09/something.jpg” class=”attachment-thumbnail”.

    I poked around in media.php trying to figure out what was going on, but I guess I’m not quite sharp enough to figure it out.

    It would be nice to understand this because moving a site around like this is a pretty common thing to do.

    Unfortunately I’m having the same problem after changing domain names. I updated all the links accordingly.

    Now for all the old post before the move, it just shows the full size version of the image instead of the thumbnail. The db entry does exist in the db and on the web server, so I can’t possibly see why it won’t load.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[gallery] shortcode thumbnails not working after server move’ is closed to new replies.