The function in image-generator.php, thegem_generate_thumbnail_src() is adding more path information to find the correct thumbnail of the post, and this is failing the image to be displayed.
ie /www-2/wp-content/uploads/sites/13/sites/13/2016/04/image-name... should be /www-2/wp-content/uploads/sites/13/2016/04/image-name....
For the operation of the site I've renamed the old function in functions.php, and this works fine.
I can see what is trying to be done in the new function, but is has a bug in it, could you look into what might be happening in your code please.
Systems Specs
WP 4.8 Multisite on a LAMP server running Debian 9, Apache 2.4, PHP 7, MariaDB 10.
Hi,
The function in image-generator.php, thegem_generate_thumbnail_src() is adding more path information to find the correct thumbnail of the post, and this is failing the image to be displayed.
ie /www-2/wp-content/uploads/sites/13/sites/13/2016/04/image-name... should be /www-2/wp-content/uploads/sites/13/2016/04/image-name....
For the operation of the site I've renamed the old function in functions.php, and this works fine.
I can see what is trying to be done in the new function, but is has a bug in it, could you look into what might be happening in your code please.
Systems Specs
WP 4.8 Multisite on a LAMP server running Debian 9, Apache 2.4, PHP 7, MariaDB 10.
Thanks.
Paul.
HI!
pls. provide the wp-admin and FTP access.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver