Title: kjkjava's Replies | WordPress.org

---

# kjkjava

  [  ](https://wordpress.org/support/users/kjkjava/)

 *   [Profile](https://wordpress.org/support/users/kjkjava/)
 *   [Topics Started](https://wordpress.org/support/users/kjkjava/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kjkjava/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kjkjava/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kjkjava/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kjkjava/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kjkjava/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images](https://wordpress.org/support/topic/photon-breaking-some-images/)
 *  [kjkjava](https://wordpress.org/support/users/kjkjava/)
 * (@kjkjava)
 * [13 years ago](https://wordpress.org/support/topic/photon-breaking-some-images/page/2/#post-3195370)
 * Hi Jeremy,
 * Any word on my problem (above). Photon was timing out when my server was taking
   too long to deliver large images. Data was transferring slowly but surely, though.
 * Thanks,
    Kyle
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images](https://wordpress.org/support/topic/photon-breaking-some-images/)
 *  [kjkjava](https://wordpress.org/support/users/kjkjava/)
 * (@kjkjava)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/photon-breaking-some-images/page/2/#post-3195351)
 * [@jeremy](https://wordpress.org/support/users/jeremy/) I just took a look at 
   [http://code.svn.wordpress.org/photon/index.php](http://code.svn.wordpress.org/photon/index.php)
   and noticed there’s a 10-second timeout on the fetch_raw_data function. I ran
   the script on my computer with a higher timeout, and it worked after 18 seconds.
 *     ```
       $raw = fetch_raw_data( $url );
       if ( empty( $raw ) )
       	httpdie( '504 Gateway Timeout', 'We cannot complete this request, remote data could not be fetched' );
       ```
   
 * `function fetch_raw_data( $url, $timeout=10, $connect_timeout=2 ) {`
 * So it looks like my server is just too slow! (No surprise there.) I do plan on
   downsizing most of my images before I upload them in the future, but it’d be 
   nice if the Photon server could be a little more patient with my old machine 
   hosting off of consumer internet.
 * I’d love to be in on the solution (or even code it up), if any. Just let me know
   the best place to discuss it. Maybe the server could wait as long as it is still
   receiving data and hasn’t passed a certain threshold? It’s cached after the first
   time, right? Or at least have the client fall back on loading the original server’s
   version.
 * -Kyle
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images](https://wordpress.org/support/topic/photon-breaking-some-images/)
 *  [kjkjava](https://wordpress.org/support/users/kjkjava/)
 * (@kjkjava)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/photon-breaking-some-images/#post-3195347)
 * [@jeremy](https://wordpress.org/support/users/jeremy/) Thanks so much for taking
   a look. I did protect my wp-admin directory and it looks like you saw that because
   the JetPack Carousel script was trying to access wp-admin/admin-ajax.php. I’ll
   have to get rid of that.
 * However, that was a recent addition and I’ve been having the Photon problem for
   longer. In any case, I’ve disabled that and still have the problem.
 * Thanks,
    Kyle
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images](https://wordpress.org/support/topic/photon-breaking-some-images/)
 *  [kjkjava](https://wordpress.org/support/users/kjkjava/)
 * (@kjkjava)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/photon-breaking-some-images/#post-3195345)
 * Hello,
 * I’m having the same problem, but my original image _does_ exist. This happens
   with any large images on my site. I have no plugins enabled except for JetPack.
 * I’ve gotten the same error message noted above, or “We cannot complete this request,
   remote data could not be fetched”
 * The image should be embedded in this gallery:
    [http://kylekrafka.com/projects/](http://kylekrafka.com/projects/)
 * And the image that isn’t loading is at:
    [http://i1.wp.com/kylekrafka.com/wp-content/uploads/2013/01/IMG_1159.jpg?resize=216%2C216](http://i1.wp.com/kylekrafka.com/wp-content/uploads/2013/01/IMG_1159.jpg?resize=216%2C216)
 * The other (originally) large images in the gallery didn’t work initially either,
   but after enough fiddling with loading the wp.com link, I got it to work… weird.
 * Thanks for any tips or advice.
 * -Kyle

Viewing 4 replies - 1 through 4 (of 4 total)