• Hi, has anyone successfully used this to cache images from Photobucket? I’m a web designer transferring an existing blog to WordPress for a client. We need the images cached by WordPress because the design includes post thumbnails. Unfortunately, my client hosted most of her images with Photobucket and I can’t get those photos to cache. The plugin worked perfectly for the photos hosted elsewhere, but I get an “Error 500” whenever I try to cache the 3,000 or so Photobucket images. I can view each image in the browser and download them individually, so I’m not sure what the problem is. If you have any ideas, please let me know. I really need some help with this.

    Thanks!
    Bryan

    http://wordpress.org/extend/plugins/cache-images/

Viewing 1 replies (of 1 total)
  • I’ve been having the same problem with Photobucket. I did a lot hacking around to determine that it may not be photobucket per say. It may just be that we have so many images from one domain! I found that it will actually do some sideloading if you edit line 338 of the plugin from:
    $postid_list = $wpdb->get_results(“SELECT DISTINCT ID FROM $wpdb->posts WHERE post_content LIKE (‘%<img%’) AND post_content LIKE (‘%$domain%’)”);
    TO:
    $postid_list = $wpdb->get_results(“SELECT DISTINCT ID FROM $wpdb->posts WHERE post_content LIKE (‘%<img%’) AND post_content LIKE (‘%$domain%’) LIMIT 100”);
    Perhaps without the LIMIT in the ajax query or the json encoding of the resulting array is choking on the sheer magnitude of the results.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Cache Images] Error 500 for Photobucket’ is closed to new replies.