Image problems in 3.1.6
-
OK, I’ve spent a lot of today doing an exhaustive (I hope) investigation into the image problems.
All plugins disabled. Customizr 3.1.6. WordPress 3.8. Bitnami local installation.
Twentytwelve loaded:
- Select Media > Add new > add an image
- The image uploads and creates:
- 150×150
- 300×300
- 624×624
- Original – 1024×1024
- Media > Library: looks fine
- Edit page > Set as featured image: Works fine;
- Media > Library > Delete permanently: Deletes all sizes
Customizr activated; no retina support:
- Select Media > Add new > add an image
- The image uploads and creates:
- 150×150
- 270×250
- 300×300
- 1024×500
- Original – 1024×1024
- Media > Library: Shows 1 pixel image BUG
- Edit page > Set as featured image: Image displays when media library shows, but featured image shows as 1px image; Customizr front page shows 1px image BUG
- Media > Library > Delete permanently: Deletes ONLY original. All other sizes are not deleted BUG I have to manually delete them all.
- Once featured image is deleted, Customizr front page picks up 5th (???) image on page, not the first image BUG (could be due to my bootstrap scaffolding?)
Customizr activated; with retina support:
- Select Media > Add new > add an image
- The image uploads and creates:
- 150×150
- 150×150@2x (really 300×300)
- 270×250
- 270×250@2x (really 540×500)
- 300×300
- 300×300@2x (really 600×600)
- 1024×500
- 1024×500@2x (really 1024×500) TINY BUG (already reported on the Customizr forum)
- Original – 1024×1024
- Media > Library: Shows correctly (so retina support fixes the bug above)
- Edit page > Set as featured image: Works fine (so retina support fixes the corresponding bug above).
- Media > Library > Delete permanently: Deletes all image sizes (so retina support fixes the corresponding bug above)
- Once featured image is deleted, Customizr front page picks up 5th (???) image on page, not first BUG (again, bootstrap scaffolding?)
Switching themes 1: twentytwelve to Customizr
Twentytwelve activated:
- Select Media > Add new > add an image
- The image uploads and creates:
- 150×150
- 300×300
- 624×624
- Original – 1024×1024
- Media > Library: Looks fine
- Edit page > Set as featured image: Works fine;
THEN: …Switch to Customizr
- Images are now incorrect sizes, of course (I guess there’s no way for Customizr to know this, but it means that a plugin for regenerating images really is necessary if you switch themes a lot)
- Media > Library > Delete permanently: Customizr doesn’t delete the 624×624 image. I consider this a BUG too. Not knowing what’s happening under the covers, I suppose it’s actually a bug in WordPress, not Customizr, but I’m not sure.
Switching themes 2: Customizr to twentytwelve
Customizr activated; with retina support:
- Select Media > Add new > add an image
- The image uploads and creates:
- 150×150
- 150×150@2x
- 270×250
- 270×250@2x
- 300×300
- 300×300@2x
- 1024×500
- 1024×500@2x
- Original – 1024×1024
- Media > Library: looks fine
- Edit page > Set as featured image: works fine;
THEN: …Switch to twentytwelve
- Images are now incorrect sizes for twentytwelve, of course
- Media > Library > Delete permanently: twentytwelve doesn’t delete the following images:
- 150×150@2x
- 270×250
- 270×250@2x
- 300×300@2x
- 1024×500
- 1024×500@2x
Again, I consider this to be probably a bug in WordPress, not twentytwelve. The delet functionality in WordPress should delete all sizes of an image, not just the theme currently loaded.
Switching themes 3: Customizr to twentytwelve
Customizr activated; without retina support:
- Add an image etc and get all the bugs above
THEN: …Switch to twentytwelve
- Media > Library > Delete permanently: twentytwelve doesn’t delete anything apart from the original BUG
Again, I consider this to be probably a bug in WordPress, not twentytwelve. The delet functionality in WordPress should delete all sizes of an image, not just the theme currently loaded.
Conclusions
- If you’re switching themes a lot (a) make sure you manually clear up after you’ve deleted images and (b) try an image regenerator when you switch back (@nikeo uses https://www.ads-software.com/plugins/regenerate-thumbnails/)
- There are a few bugs in Customizr 3.1.6 images (which I’m sure @nikeo will fix), but most of them are fixed if you select retina support (in Customiz’it > Images).
- I need confirmation (from someone who knows how the media library works under the covers) that the deletion bug above is a WordPress bug, not 2 bugs in both Customizr and twentytwleve.
Hope this helps a few bleeding-edge users fix their image problems and helps @nikeo fix them permanently.
- The topic ‘Image problems in 3.1.6’ is closed to new replies.