Support » Fixing WordPress » A unique missing thumbnail issue

  • Due to webhosting policies, folders on my server have a file # and/or file size limit, so I’m forced to use year/month/day folders when I add images to posts. Easy enough, I just use the Custom Upload Dir plug in that nicely organizes things.

    The trouble is that at some point in time, after the first of the year, the plug-in got disabled. I don’t know how or why, just that the default uploads folder was reaching its limit and I needed to move things around. I quickly re-activated the plug-in so that images for new articles got the correct paths, created the appropriate folders for the images that didn’t get the treatment and updated both the _postmeta and _posts tables to reflect the new paths.

    Full size images show up correctly linked, but gallery thumbs don’t display. Once rendered to the browser, I can click on where a thumbnail would likely show up and it will load the full size image, but the thumbnail itself doesn’t display. Viewing the final source looks thusly:

    <a href="http://media-geeks.com/wp-content/uploads/2012/03/05/mcquarrie_01.jpg"><img src="http://media-geeks.com/wp-content/uploads/2012/03/05/mcquarrie_01.jpg" alt="mcquarrie_01" title="mcquarrie_01" width="0" height="0" class="aligncenter size-thumbnail wp-image-10935" /></a>

    For some reason, the img src points to the full size image, rather than the thumbnail, but displays nothing regardless. What it should look like, taken from a much earlier post, is more like this:

    <a href="http://media-geeks.com/wp-content/uploads/2011/09/01/nascar-unleashed01.jpg"><img src="http://media-geeks.com/wp-content/uploads/2011/09/01/nascar-unleashed01-116x65.jpg" class="alignnone size-thumbnail wp-image-10262"></a>

    Is there a db table I need to update to get this working again? Did I miss a settings or is there something hard coded that I’m forgetting? I’ve tried just removing the gallery short code and re-adding it, but there’s no help and I REALLY don’t want to have to download 6 months worth of images and reupload them one post at a time, but so far it’s the only solution I’ve got.

  • The topic ‘A unique missing thumbnail issue’ is closed to new replies.