Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Gallery Home Page Thumbnails not showing
Tagged: gallery, issue, list, thumbnails
- This topic has 18 replies, 4 voices, and was last updated 7 years, 10 months ago by hilgertom.
-
AuthorPosts
-
August 4, 2015 at 8:10 pm #12947TwilliamMember
Hi,
I have just moved site to a new domain and now the gallery home page doesn’t show a thumbnail. Any help would be much appreciated.
[http://www.sarahgoldingphotography.co.uk/client-galleries/]
It just shows the gallery name
Cheers
August 4, 2015 at 9:49 pm #71061TwilliamMemberSeems close to this https://support.tipsandtricks-hq.com/forums/topic/name-of-picture-only-displaying-in-galleries
photon for jetpack is turned off.
Looking at server settings on dream host, doesn’t appear to have a CDN on.
August 5, 2015 at 12:53 am #71062PeterMemberLooks like the security .htaccess file inside the uploads/wp_photo_seller directory is blocking the images. I think this may be due to “HTTP_REFERER” variable not being correct.
Can you ask your host provider what value your server returns for “HTTP_REFERER”?
August 6, 2015 at 7:13 pm #71063TwilliamMemberSpot on, cheers Peter.
The .htaccess in the upload folder was still pointing to the old domain
September 8, 2016 at 5:30 pm #71064WebitectMemberHi,
I’ve built 2 galleries and both do not have thumbnail images representing them in the Photo Gallery page. Some browsers show the missing/broken image link icon and others just show the gallery name. Clicking the gallery text opens the gallery and everything shows up fine.
Photon in Jetpack is not on.
php memory in htaccess increased to:
php_value max_file_uploads 100
php_value max_input_vars 5000
php_value post_max_size 512M
php_value upload_max_filesize 512M
Emailed my host regarding the http_referer. But don’t know what to do with it, or if that’s the issue but asked just in case you need that info.
website: eventphotos dot rayshiuimages dot com /
Please advise.
September 9, 2016 at 12:24 am #71065PeterMemberThe issue is that the following photos are returning a 404 not found:
Frontal_view-2-600×600.jpg
Yamaha_R6_Motorcycle-600×600.jpg
The strange thing is that the plugin normally looks for the 150x150px thumbs but in your case it is for some reason trying to use the 600x600px version of the photo. Have you done any modifications to the plugin?
Can you also go to WordPress Settings>>Media and check your “Thumbnail Size”. Is it set to 150?
September 9, 2016 at 3:57 pm #71066WebitectMemberHi Peter,
Thanks for the quick response. I did modify the plugin (wouldn’t know how). I checked the thumbnail size and it was 600 x 600 so I changed it to 150 x 150.
What do I need to do to get the thumbnails regenerated and showing up?
Thanks for you help!
September 9, 2016 at 7:24 pm #71067WebitectMemberSorry I meant “did not” in the above post. I uploaded another gallery and a thumbnail was generated and present, but the other 2 didn’t, I even picked a new image for the thumbnail for both galleries.
Please advise.
September 9, 2016 at 8:14 pm #71068WebitectMemberHi again,
I was trying to bypass the photo gallery page by making an album. The good news is, all 3 thumbnails for the galleries showed up within the album. The bad news is, the album thumbnail does not show up. I got this message:
Warning: getimagesize(): http://wrapper is disabled in the server configuration by allow_url_fopen=0 in /misc/19/133/769/758/user/web/eventphotos.rayshiuimages.com/wp-content/plugins/wp-photo-seller/views/album/album-home/template-2/album-home template-2.php on line 65
Warning: getimagesize(http://eventphotos.rayshiuimages.com/wp-content/uploads/2016/09/Transportation_Thumb): failed to open stream: no suitable wrapper could be found in /misc/19/133/769/758/user/web/eventphotos.rayshiuimages.com/wp-content/plugins/wp-photo-seller/views/album/album-home/template-2/album-home template-2.php on line 65
I sized the thumbnail to 150 x 150.
Please advise.
September 10, 2016 at 2:27 am #71069PeterMemberWhat do I need to do to get the thumbnails regenerated and showing up?
That’s a good question. If you don’t mind deleting and re-creating the gallery, I know that would fix it.
Regarding the following error:
“Warning: getimagesize(): http://wrapper is disabled in the server configuration ”
Your host provider can fix this. Please show them that error and ask them to configure the server so that error does not happen.
September 12, 2016 at 10:20 am #71070WebitectMemberRe-creating the galleries fixed one thumbnail after 2 tries. One is still not showing, will try again later.
Is there a way to edit product numbers? After so many re-do’s I don’t want my product numbers starting so high.
Please advise.
September 13, 2016 at 5:21 pm #71071WebitectMemberHi again Peter,
My Host guys have this solution:
Curl Example:
header(‘content-type:text/plain’);
// define the URL to load
$url = ‘http://project64.c64.org/misc/assembler.txt’;
// start cURL
$ch = curl_init();
// tell cURL what the URL is
curl_setopt($ch, CURLOPT_URL, $url);
// tell cURL that you want the data back from that URL
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// run cURL
$output = curl_exec($ch);
// end the cURL call (this also cleans up memory so it is
// important)
curl_close($ch);
// display the output
echo $output;
?>
Or:
ch = curl_init(‘http://example.com/image.php’);
$fp = fopen(‘/my/folder/flower.gif’, ‘wb’);
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
But I don’t know what to do with that…and they said you would…Please advise.
September 14, 2016 at 12:03 am #71072PeterMemberI will look into this further to see if the code can be modified to prevent your issue.
September 14, 2016 at 4:10 am #71073PeterMemberI just want to confirm with you – since changing the WP config for thumbnail size and re-creating your galleries, what is the current issue you are having?
Is it the getimagesize error?
September 14, 2016 at 12:59 pm #71074WebitectMemberI was trying to set the “Albums” page to be the static page but I can’t because the page shows:
Warning: getimagesize(): http://wrapper is disabled in the server configuration by allow_url_fopen=0 in /misc/19/133/769/758/user/web/eventphotos.rayshiuimages.com/wp-content/plugins/wp-photo-seller/views/album/album-home/template-2/album-home template-2.php on line 65
Warning: getimagesize(http://eventphotos.rayshiuimages.com/wp-content/uploads/2016/09/Transportation_Thumb): failed to open stream: no suitable wrapper could be found in /misc/19/133/769/758/user/web/eventphotos.rayshiuimages.com/wp-content/plugins/wp-photo-seller/views/album/album-home/template-2/album-home template-2.php on line 65
For each album that I’ve made (so far only 2). The Curl php stuff my host provider sent is supposed to fix it.
Thanks for looking into this, Peter.
-
AuthorPosts
- You must be logged in to reply to this topic.