Hi,
The PHP GD Image Library may be missing on the website server, which prevents the image from being generated. There should be an error log related to this issue on the website. The solution is to enable the PHP GD Image Library in the PHP configuration.
Thank you for using the plugin!
I have attempted to enable the PHP GD image library in the PHP configuration by inserting this code into the functions.php file of the active theme, but the image still does not appear:
function hs_image_editor_default_to_gd( $editors ) {
$gd_editor = “WP_Image_Editor_GD”;
$editors = array_diff( $editors, array( $gd_editor ) );
array_unshift( $editors, $gd_editor );
return $editors;
}
add_filter( “wp_image_editors”, “hs_image_editor_default_to_gd” );
Hi,
That code doesn’t enable the PHP GD Image Library. You should enable the PHP GD Image Library into the PHP.ini file. You may need to ask your hosting support service about the location of the PHP.ini file or ask them to enable the PHP GD Image Library.
Thank you for using the plugin!