Tagged: gallery
-
AuthorPosts
-
May 14, 2021 at 10:33 am #1300294
Hi there,
Since yesterday the gallery on our clients page shows “the image could not be loaded” on click.
This happened to all Enfold-Galleries, the WordPress Galleries still work.
How can we fix this?Thank you for the help!
ElbnetzMay 14, 2021 at 6:09 pm #1300403Hi ksalewski,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoMay 17, 2021 at 10:08 am #1300671Hi there,
thanks for looking into it. The credentials are below.Many Thanks,
ElbnetzMay 18, 2021 at 9:58 am #1300918Hi,
Thanks for that. Does it make any difference if you deactivate your caching plugin, or activate the parent theme?
Best regards,
RikardMay 19, 2021 at 8:59 am #1301153Hi there,
sadly, the problem still remains.Many thanks,
ElbnetzMay 20, 2021 at 12:27 pm #1301365Hi Elbnetz,
We can’t access the plugin page on your installation, could you activate that please? Also, are we allowed to temporarily disable plugins for testing purposes?
Best regards,
RikardMay 21, 2021 at 10:03 am #1301572Hi Rikard,
This is a multisite installation. We now changed the user to ‘super admin’ and you now should have access you need. Please be careful with deactivating plugins as this is a live installation.
Thanks,
ThorstenMay 23, 2021 at 4:45 am #1301791Hi Thorsten,
Thanks for the update. We’re not all that comfortable with debugging on a live site, would it be possible for you to copy it to a staging area? If not, then we can test on your live site, but please verify that you have backups of it first.
Best regards,
RikardMay 23, 2021 at 10:49 am #1301832This reply has been marked as private.May 24, 2021 at 2:42 pm #1302018Hi,
Could you please post FTP logins here privately as well? I think issue is related to some modifications you made on your child theme :)
Best regards,
YigitMay 25, 2021 at 10:10 am #1302180This reply has been marked as private.May 27, 2021 at 7:02 am #1302533Hi,
Thank you for the update.
The lightbox is not working correctly because the href attribute of the gallery items are missing or it is blank. Did you add a custom script in the functions.php file?
To fix it temporarily, try to use this script in the functions.php file.
// a custom script // fill in gallery thumbs' href attribute function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $(".avia-gallery-thumb a").each(function() { var image = $(this).data("prev-img"); $(this).attr("href", image.replace("-495x400.jpg", ".jpg")); }); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
Best regards,
IsmaelMay 27, 2021 at 10:08 am #1302562Hi Ismael,
Thanks for your great support, like always! The code is doing its job well.
As you might have seen via FTP, we don’t have any code in the child theme affecting images. The problem suddenly appeared after the latest WordPress update.Cheers,
ThorstenMay 28, 2021 at 10:57 am #1302790Hi Ismael,
we’ve noticed, that the images in the lightbox are too small. Can you please change the code so the that the original size will be shown?
Thanks,
ThorstenMay 31, 2021 at 5:27 am #1303059Hi,
We updated the code above. It should now apply the original image URL instead of the portfolio thumbnail.
Have you tried disabling the plugins temporarily? It is possible that one of the plugins is causing the lightbox to fail.
Best regards,
IsmaelMay 31, 2021 at 10:14 am #1303136Hi Ismael,
Thanks for the code update. We disabled plugins without change. And then we were under the impression, that you wanted to deactivate and investigate as well?
Cheers,
ThorstenJune 2, 2021 at 9:19 am #1303528Hi,
Yes, an access to the staging or development site would be nice. To keep us from accidentally breaking the live site. We cannot reproduce the same issue on our end, so there is a great chance that a plugin or a custom modification is causing the issue on your site. You can always keep the suggested script if the issue persists.
Thank you for your patience.
Best regards,
IsmaelJune 2, 2021 at 9:19 am #1303529Hi,
Yes, an access to the staging or development site would be nice. To keep us from accidentally breaking the live site. We cannot reproduce the same issue on our end, so there is a great chance that a plugin or a custom modification is causing the issue on your site. You can always keep the suggested script if the issue persists.
Thank you for your patience.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.