WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[closed] Image problems in 3.1.6 (4 posts)

  1. ElectricFeet
    Member
    Posted 7 months ago #

    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:
      • 150x150
      • 300x300
      • 624x624
      • Original - 1024x1024
    • 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:
      • 150x150
      • 270x250
      • 300x300
      • 1024x500
      • Original - 1024x1024
    • 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:
      • 150x150
      • 150x150@2x (really 300x300)
      • 270x250
      • 270x250@2x (really 540x500)
      • 300x300
      • 300x300@2x (really 600x600)
      • 1024x500
      • 1024x500@2x (really 1024x500) TINY BUG (already reported on the Customizr forum)
      • Original - 1024x1024
    • 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:
      • 150x150
      • 300x300
      • 624x624
      • Original - 1024x1024
    • 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 624x624 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:
      • 150x150
      • 150x150@2x
      • 270x250
      • 270x250@2x
      • 300x300
      • 300x300@2x
      • 1024x500
      • 1024x500@2x
      • Original - 1024x1024
    • 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:
      • 150x150@2x
      • 270x250
      • 270x250@2x
      • 300x300@2x
      • 1024x500
      • 1024x500@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

    1. 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 http://wordpress.org/plugins/regenerate-thumbnails/)
    2. 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).
    3. 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.

  2. chappie
    Member
    Posted 7 months ago #

    Brilliant effort @ElectricFeet. Thank you.

    Where do I go to manually clean up all the orphaned image sizes? (I didn't even know I had them)?

  3. ElectricFeet
    Member
    Posted 7 months ago #

    - On an internet site: Via ftp (or a file manager your host gives you)

    - Locally: on my Bitnami installation, I have a nice button that opens the application folder. Digging down to wordpress, htsomethingorother, wp-content, uploads etc finds them. Or search your disk for a particular filename and you should find it twice: your original and the copy you "uploaded" to wordpress — go to that folder.

  4. Closing this topic, please do not start new topics for the same thing.

    Continue with the original topic.

    http://wordpress.org/support/topic/post-images-not-working-v2-chappie-and-legitcoder?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic