• legitcoder and I were trying to diagnose his/her problem over on this thread, but for some reason it was closed.

    [Unnecessary comments moderated, Please review the Forum_Welcome.]

    Anyway. This thread continues that one.

    @legitcoder: the common thread with Chappie and me is Bitnami & MAMP. Are you live on the internet, or are you too using a local solution?

    @chappie Are you saying that new image uploads with Customizr on MAMP are not working?

Viewing 14 replies - 16 through 29 (of 29 total)
  • Try updating to Customizr 3.1.6 in order to get the Retina option under Images menu.

    Or try a different plugin such as Force Regenerate Thumbnails.

    If you are still getting nowhere, try replacing your child theme with a new one.

    Or…you can always manually change those pesky 1px x 1px dimensions in the text editor to the correct dimensions and your image will display OK.

    Thread Starter ElectricFeet

    (@electricfeet)

    Hi chappie. Did Force Regenerate Thumbnails solve the problem for you?

    What do you mean by changing them in a text editor? Where?

    Hi ElectricFeet – I haven’t tried it yet (nor RT) as I have been sidetracked by other development pressures. But I will get around to it and report back.

    Some (maybe a lot) of the reported broken images are wrongly assigned 1 x 1px dimensions in the text editor once they have been placed on a page (and they display at 1 x 1px in the visual editor too – and also when previewed in a browser. Changing the dimensions manually in the text editor to those of the uploaded image will fix the display. At least, this works in Customizr 3.1.6 with the Retina option checked on images which have been previously uploaded with broken previews/thumbnails.)

    I keep saying I have 3.1.6 and I have not retina option. I will reload theme again. I guess

    Also Force regenerate does not work either.

    Thread Starter ElectricFeet

    (@electricfeet)

    Hi chappie, what do you mean “in the text editor”? You mean in the html of the pages/posts?

    @electricfeet, I do. Is my terminology wrong? Visual Editor and Text Editor being the two tabs offered in the Page Editor…

    Thread Starter ElectricFeet

    (@electricfeet)

    Ah, OK. gotcha. I never noticed the lack of dimensions in the editor when I had the problem. This doesn’t fix the featured image, however, for which there is no editor option.

    Legitcoder: Two possibilities here to explore:
    1. Customizr 3.1.6 has retina support. Turning it on fixed my problem. If the option is not showing then:

    • A plugin is screwing it up — deactivating them all should tell us if it’s this
    • The child theme is screwing it up — running only the parent should tell us if it’s this
    • An edit to Customizr core is screwing it up — a reinstall of Customizr through the dashboard should tell us if it’s this
    • Customizr core is somehow corrupted — a reinstall of Customizr through the dashboard should tell us if it’s this
    • Checking all of the above together is the ideal gold standard

    2. Something may be wrong with the images or the image sizes.

    Regenerate thumbnails and Force regenerate thumbnails didn’t work for you. It may be, however, that there are still some stray versions of the image around. Could you — with a pristine Customizr (see gold standard) above and with retina support switched on — try the following:

    1. Switch on retina support.
    2. Via FTP, note the location of an image you can temporarily delete for testing
    3. Delete the image in the media library
    4. Use FTP to go to the image location and delete all other sizes of the file — there may be a few still hanging around
    5. Reupload the image

    Ok I wiped the themes folder and re uploaded 3.1.6. I tested it locally and then uploaded to host server and everything seems to be working fine. I am still going to test it but I guess you can say I have no idea what had happened….. lol ……. I will keep you informed. Thx

    Thread Starter ElectricFeet

    (@electricfeet)

    Yo! finally! ??

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    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.

    It is: https://core.trac.www.ads-software.com/ticket/24518.

    Thread Starter ElectricFeet

    (@electricfeet)

    I just reproduced the problem by:
    – Activating the Oxygen theme
    – Uploading 2 images
    – Activating the Confit theme
    – Deleting the images

    Several images remain (specifically in my case 110×70, 470×260, 650×380, 470×140).

    So that’s a third theme to add to your list. The odds are very small at this point.

    I then switched to Tonic and did the same thing. Tonic creates images at 150xH, 300xH. Switching theme again, these are happily deleted by Twentythirteen, because Confit and Twentythirteen create images at the same sizes.

    I tried several other themes (Vantage, Confit, Sixteen) and found that in most cases some images are not deleted.

    tl;dr: In the sequence BeforeTheme > UploadImage > AfterTheme > DeleteImage, if the BeforeTheme and AfterTheme create images at the same sizes, then they will delete cleanly. If the BeforeTheme and AfterTheme create images at different sizes, then the deletion is only partial.

    So it’s not a theme issue at all (and I’m presuming that the “Delete Permanently” function is WordPress function). I agree with the bug report: WP should delete all sizes, no matter what theme is loaded.

    Note that I’m not “someone who knows how the media library works under the covers”, but I’m good at problem determination … and in fact you don’t need to know how it works to be able to confirm that it’s not a theme issue, as the above analysis shows.

    Thanks for asking!

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    The “I need confirmation…” part was actually a quote from your earlier post, to which I replied with a Trac ticket link.

    Thanks for additional testing. The bug is identified and should be fixed in a future release.

    Thread Starter ElectricFeet

    (@electricfeet)

    Doh! That’ll teach me to read a post properly before reaching for my Problem Determination Ninja Headband.

    Great news that it’s recognized as a problem. Thanks!

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Post Images not Working’ is closed to new replies.