WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Some Photon images broken (2.9.3)

[Resolved] Some Photon images broken (2.9.3)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Brandon Kraft

    @kraftbj

    Howdy,

    That image is working for me. Are there any others?

    It’s working now for me too, but it was inaccessible for at least a few days.

    I’ll update this thread if there are others not working at the moment.

    Is it possible that Photon just wasn’t serving certain images? Other images I checked from the same time period that were oming from http://i0.wp.com/ were working, so it didn’t seem to be the server.

    Plugin Contributor Brandon Kraft

    @kraftbj

    It’s possible that when the other images were initially requested, everything pulled fine, but when that particular image was being requested, something interfered in the process (either making the server respond slowly or if a DNS change was made, Photon was hitting the old server, etc).

    Glad that it’s working!

    Well, it seems to be not working again…

    We recently moved the site from a subdirectory down to the site’s main root, so initially I thought maybe somehow that was screwing up paths…
    But plenty of the images are working fine, it’s just some of them.
    These particular images have been down since last Friday May 30th.

    This time it seems to be images served from i1.wp.com, as i0.wp.com and i2.wp.com images are fine.

    Here are a few image URLs that aren’t working.

    Plugin Contributor Brandon Kraft

    @kraftbj

    It seems like the original images aren’t there.

    Trying the first URL’s original image:

    $ curl -I usarivercruises.com/wp-content/uploads/2014/04/Sokol-4-e1398213754972.png
    HTTP/1.1 404 Not Found
    X-Pingback: http://usarivercruises.com/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: image/png
    X-Cacheable: YES
    Content-Length: 95
    Accept-Ranges: bytes
    Date: Mon, 02 Jun 2014 16:50:40 GMT
    Age: 3356
    Connection: keep-alive
    X-Cache: cached
    X-Backend: wpaas_web_014

    and visiting http://usarivercruises.com/wp-content/uploads/2014/04/Sokol-4-e1398213754972.png directly didn’t pull up an image for me.

    The other two also reported as not found.

    No, those images aren’t there, but I don’t really know what those images are…

    The original WP uploaded URL would be: usarivercruises.com/wp-content/uploads/2014/04/Sokol-4.png

    I don’t know where the extra “4-e1398213754972” came from (though I see that file in my recent site backup). There are several files in my backup that have that weird character combination, so I’m curious how they ended up IN the post…
    Does anyone know if this is what WP does when a user edits an image?

    Whatever they are, they vanished when we migrated the site.
    I’ll try merging the backup with the live upload directory.

    Plugin Contributor Brandon Kraft

    @kraftbj

    Yup, if you edit the image within WordPress directly (cropping, scaling, etc), it’ll keep the original (and all of the thumbnail sizes of that original) and create a new image with that ending.

    It does this so if you use the same image in multiple posts, you can crop it in the future without impacting past posts.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Some Photon images broken (2.9.3)’ is closed to new replies.