Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using wordpress 3.5 to manage my website with a template (not sure which). Lately, each picture I add to a gallery creates a corrupted thumbnail, but the picture itself shows up ok. I tried uploading pictures that used to create a proper thumbnail and now their new thumbnail is broken.

The broken thumbnail link - though it opens up correctly...

broken thumbnail

How can set to fix this?

share|improve this question
    
There appears to be the right half of a HTML <a> element on the end of the thumbnail URL you've posted –  bungeshea Jan 7 '13 at 8:01
    
I'll check though it is probably a problem in the copy and paste since I used Chrome's F12 Elements to track it down and probably didn't copy all –  Shaihi Jan 7 '13 at 11:54
add comment

1 Answer

You may need to reset the thumbnail settings in your media settings, then regenerate the thumbnail; either:

  • use Regenerate Thumbnails plugin to rebuild all thumbnails; or
  • edit image / rotate it left / rotate it right (back to original) / save image
share|improve this answer
    
I'm a bit tipsy on installing new plugins on a live site. Editing the thumbnail is not possible right now as it opens the overlay and then immediately closes down –  Shaihi Jan 7 '13 at 13:34
    
Hmmm... check your _wp_attachment_metadata for that image, maybe it's broken/lost. It should be a serialised PHP array. See this tale of woe for more details. –  webaware Jan 7 '13 at 13:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.