WPIntell

Source evidence

[Plugin: Cache Images] Error 500 for Photobucket

Cache Images · support · 2012-10-15T03:51:00+00:00

complaintsentiment
highseverity
0.97relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 23 rows with source links

17.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
bmtm unresolved
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/ 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!

Comments

1 shown
timcooperhouse 2013-09-17T21:02:00+00:00

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!