Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter orion42

    (@orion42)

    I forget to ask: There is a way to force an image to NOT use Photon?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I have a problem with an animated gif

    That’s indeed a known issue with Photon and animated gifs. We’ll work on getting this fixed. I took note of your feedback in the trac ticket related to the issue:
    https://code.trac.www.ads-software.com/ticket/44

    Also I experienced a problem with anothe plugin, AioSEO ALRP (All in One SEO Automatic Related Post). With theit auto-generated thumbnail (with timthumb). There are some problem with the photon CDN network

    Could you give me more details about the issues? What happens to the images added via this plugin?

    There is a way to force an image to NOT use Photon?

    Yes, you can use the jetpack_photon_skip_image filter, like so:

    function my_photon_exception( $skip, $src ) {
            if ( $src == 'YOUR_IMAGE_URL' ) {
                    return true;
            }
            return $skip;
    }
    add_filter( 'jetpack_photon_skip_image', 'my_photon_exception', 10, 3 );
    Thread Starter orion42

    (@orion42)

    Thanks for your reply.
    Other than the jetpack_photon_skip_image there is a custom field or an option to skip the use of photon in a post ?

    About the other issue, now I don’t remember precisely cause I’ve dectivated the AioSEO ALRP plugin option. However could also be some problem in the AioSEO plugin and not into Jetpack Photon. I’ll investigate in next days this behavior.
    I remember that was maybe something related to a thumbnail url of an external website (maybe also cached locally). In the url there was a quote mark for GET parameter of width and height (w, h and other parameter). But the strange thing was that only some image where affected.
    Anyway, if I’ll find out more I’ll reply here.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Other than the jetpack_photon_skip_image there is a custom field or an option to skip the use of photon in a post ?

    There are no other options, I’m afraid.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    We have now fixed the issue. All animated gifs are now displayed properly when using Photon.

    Thread Starter orion42

    (@orion42)

    I’m sorry but the very same gif image linked at post beginning is still affected with same problem.
    However it is ok if I change width or height in the resize parameter in url
    (e.g. changing from 140 to 141:
    i1.wp.com/gak.it/wp/wp-content/uploads/2011/07/luna_animata_210x140.gif?resize=210%2C141
    ). I also have tried a hard refresh on the image without results. Maybe it’s just a problem with gif resized at their original size. In this case maybe could be useful to insert an if block for showing the original non-resized image.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    That image was still cached by Photon. I flushed the cache for that image, and it should start working properly again in a few minutes.

    I’ve re-enabled Photon to test the gif fix myself. It’s still showing distortion here: https://i2.wp.com/geeksjourney.com/wp-content/uploads/2013/10/Cosbyfacepalm.gif?resize=400%2C271

    But I’m wondering if the cache for my gifs may need to be flushed as well before I start seeing the fixed changes?

    Thread Starter orion42

    (@orion42)

    @ Jeremy – Everything is fine with my image, thanks very much.

    @frank – Yes, I think that all the previous affected gif need to be flushed to be fixed. Likely the will do it soon or anyway I suppose there is an auto-flush every X days..

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @frank That gif is displayed properly on my end. But I’ve flushed cache for that image as well, just in case. Could you try to load it again in 10-15 minutes?

    Thanks!

    Thanks, looks like the caches are being refreshed with the corrected changes.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Photon problem with gif – and a plugin’ is closed to new replies.