Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Photon CDN and cropped images gone wild

  • Resolved aimarv

    (@aimarv)


    Good morning

    For a pretty long time I have this on my theme’s functions.php

    add_image_size( ‘sq-480’, 480, 480, true );

    and that on my front page’s loop
    the_post_thumbnail( ‘square-480’ );

    What I expect to happen (and what truely was the deal till some days ago) is to print an image hard cropped at 480 x 480

    With no apparently related code change, some days ago this stopped working correctly

    And this has happened some months ago and then it was “fixed” on its own

    <rant>
    WHY?

    I code WP sites and promote WP philosophy the last 13 years

    Now, this makes me look unreliable to my clients
    </rant>

    • This topic was modified 2 years, 2 months ago by aimarv.
    • This topic was modified 2 years, 2 months ago by aimarv.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    This is a bit beyond the scope of the support we can offer here, since it deals with customization, but you can find details on working with the Photon API at https://developer.wordpress.com/docs/photon/ and https://developer.wordpress.com/docs/photon/api/

    Thread Starter aimarv

    (@aimarv)

    Dear James, maybe I need to clarify what I’ve written before

    Unfortunately, I do not need support for customizing.

    My code was working flawlessly.
    I did not change the code.
    Some parts of my sites are broken.

    Do I need to contact some place else for jetpack/photon bugs?

    According to the links you ve provided, my code is (well … was) enough to provide a square image. But it stopped working and I didnt do it 🙂

    • This reply was modified 2 years, 2 months ago by aimarv.
    Thread Starter aimarv

    (@aimarv)

    just to correct a typo:

    functions.php
    add_image_size( ‘square-480’, 480, 480, true );

    and then index.php
    the_post_thumbnail( ‘square-480’ );

    any suggestions (apart from forgetting jetpack after all these years) are welcome

    Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, ok, please contact us via https://jetpack.com/contact-support/?rel=support so we can take a closer look.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Photon CDN and cropped images gone wild’ is closed to new replies.