Hi @przyjem
In most cases, this error is caused by the PHP GD image extension not being installed on the server as indicated by the message you shared. As you must have read in the documentation you shared with us, one of these libraries is needed for resizing images.
You can contact your web host and ask them for more info on if it is installed and enabled.
Other issues could be a lack of PHP memory during image resizing. How much memory does your WordPress hosting have set for PHP?
Are you also able to post the info generated by FooGallery -> System Info here so we can review it?
Thanks.
Kind regards,
Elvis.
Hi. Here it is
FooGallery version : 1.10.3
WordPress version : 5.7
Activated Theme : Rehub child theme EN
WordPress URL : https://maddownload.com
PHP version : 7.4.16
PHP GD : Loaded (V2)
PHP Imagick : Loaded
PHP Open SSL : Loaded
PHP HTTP Wrapper : Found
PHP HTTPS Wrapper : Found
HTTPS Mismatch : None
PHP Config[allow_url_fopen] : 1
PHP Config[allow_url_include] : 1
WP Image Editor :
Thumbnail Generation Test : https://s3.amazonaws.com/foocdn/test.jpg
Extensions Endpoint : https://raw.githubusercontent.com/fooplugins/foogallery-extensions/master/extensions.json?v=KuHGLROfBAko
Extensions Errors : Nope, all good
Extensions :
Extensions Active : Array
(
[0] => default_templates
[1] => foobox-image-lightbox
[2] => media_menu
)
Gallery Templates : Array
(
[0] => default
[1] => image-viewer
[2] => justified
[3] => masonry
[4] => simple_portfolio
[5] => thumbnail
[6] => polaroid_promo
[7] => grid_promo
[8] => slider_promo
)
Lightboxes : Array
(
[foogallery] => FooGallery PRO Lightbox (Not installed!)
[foobox] => FooBox
)
Settings : Array
(
[gallery_template] => default
[gallery_sorting] =>
[default_gallery_settings] => 0
[caption_title_source] => caption
[caption_desc_source] => desc
[thumb_engine] => default
[thumb_jpeg_quality] => 90
[default_crop_position] => center,center
[thumb_resize_upscale_small_color] => rgb(0,0,0)
[language_imageviewer_prev_text] => Prev
[language_imageviewer_next_text] => Next
[language_imageviewer_of_text] => of
[language_images_count_none_text] => No images
[language_images_count_single_text] => 1 image
[language_images_count_plural_text] => %s images
[override_thumb_test] => on
[custom_js] =>
[custom_css] =>
[default_retina_support] => Array
(
[2x] => false
[3x] => false
[4x] => false
)
)
Active Plugins : Array
(
[0] => akismet/akismet.php
[1] => contact-form-7/wp-contact-form-7.php
[2] => elementor/elementor.php
[3] => foogallery-media-menu-master/foogallery-media-menu.php
[4] => no-self-ping/no-self-pings.php
[5] => quantcast-choice/qc-choice.php
[6] => wp-rocket/wp-rocket.php
)
BTW isnt the message PHP GD : Loaded (V2) confirming that the library IS on the server?
-
This reply was modified 5 years, 2 months ago by
przyjem.
Hi @przyjem
Thanks for sharing the system info with us. After analyzing the system info, it does appear that the PHP GD image extension is installed on your server.
I’d like to kindly ask for a clarification on your initial message to us. You mention that this issue began happening a couple of days ago.
I wanted to kindly enquire if the issue started happening after you had just updated FooGallery to the latest version or after installing/updating any other plugin/theme on your site.
Thanks in advance for the clarification and I’m hoping to hear from you soon.
Kind regards,
Elvis.
Hi
I am not sure when I upgraded to the last version of the plugin (I usually update right away) or which plugins I upgraded recently. I can only tell you that all was working on March 7th but it got broken later (so not very recently as i wrote initially)
@przyjem
Looking at your site info, there is no value for WP Image Editor
So something strange is happening, whereby your WP install cannot determine the Image Editor to use under the hood. This is what FooGallery uses to generate thumbs.
My guess is that another plugin is causing a conflict or altering the list of available image editors, but it is difficult to tell.
Can you try enabling “Force GD Library” on the FooGallery settings page under the Images tab to see if that fixes the problem.
There is also a thumb test page which you can get to from the settings page to help investigate issues with thumb generation.
You can get to it here – https://maddownload.com/wp-admin/edit.php?post_type=foogallery&page=foogallery_thumb_test
And see if anything does not work there. (The last test “Remote test for non image” should return an error, but everything else should work)
Hi @bradvin !
Enabling “Force GD Library” fixed the problem. Thanks for that! Do you think this is a good long-lasting solution? Can you tell me how I can pull my site info so I can see this image editor information problem, please?
Also – upon clicking on the link you provided I am getting “Cannot load foogallery_thumb_test.” What does it mean?
good to hear @przyjem
That solution will be fine going forward.
There is no way to pull which image editors are available, but I have already added it to the system info in a future release so that you can see it.
The thumb test page is also available in an upcoming release. Sorry about that
Hi!
Even though the problem seems to be fixed, I am still getting the alert:
‘Thumbnail Generation Alert!
There is a problem generating thumbnails for your galleries. There could be a number of reasons which could cause this problem.
If thumbnails cannot be generated, then full-sized, uncropped images will be used instead. This will result in slow page load times, and thumbnails that do not look correct.
View Troubleshooting Documentation
‘
Should it be like that?
It could be cached. Goto the Images tab and click on Run Tests to see what it says