It Stopped Working for WP Thumbnails
-
Hi
Post Thumbnail Editor stopped working for a couple of my sites, I found a solution that caused it to start working again, but wanted to let you know as it seems like a bug.
Symptoms:
- The editor appeared to still work. I could crop images and it would save them.
- However the thumbnail in the media library didn’t change.
- If I went back into PTE and clicked “thumbnail” the updated thumbnail was there. Even though it wasn’t showing in the media library.
- If I went into WordPress’ native editing functionality, the thumbnail it displayed was the original thumbnail.
- I went to a post and inserted an image and selected “thumbnail” size to be inserted. It inserted the OLD thumbnail, not the new one.
- However the images were correctly updated for any additional image sizes that had been specified with the add_image_size() function. Where one of these images was pulled into a template, the updated cropped image was shown. So the problems only seemed to be with the iamges sizes built into the core of WP.
I tested this on two different sites with two different themes:
* Canvas from Woothemes
* Genesis child themeNeither worked. BUT then in an attempt to get data on what was happening, I turned on debug mode. I cropped an image and it worked perfectly. I turned off debug mode, and it kept working fine.
So on my second site I simply turned on debug mode, saved changes, then turned off debug mode and saved changes. Then I went to crop and image and it worked! The media library now showed the the updated thumbnail. And inserting an image into a post as “thumbnail” size now gave that updated version.
For both of these sites I had updated to the most recent release of Post Thumbnail Editor. I suspect that in the upgrade something might have stopped working, and turning debug on and off somehow caused it to started working again? Is that possible?
I hope this helps others, and hopefully helps you find what went wrong, if this is being experienced by others too.
The topic ‘It Stopped Working for WP Thumbnails’ is closed to new replies.