"The image could not be loaded" errors

Posted in: Newspaper
Post count: 34

Hi, using the latest version of the theme 7.3 and I have been through the forums but still can’t figure out a way to disable the lightbox feature and prevent “the image could not be loaded” errors from occurring. I have disabled the modal image everywhere but it still keeps happening. Is there a way to completely disable it by hacking the theme or adding a function to functions.php? Thanks for any insight you can provide.

Post count: 34

Want to add to this, the issue is specifically when I have a shortcode on a post to embed a gallery as opposed to individual images. Example: [SME_gallery ids=’4tT7vgP,7NK6ptN’ size=’MediumURL’ columns=’2′ caption='{SMUGMUGCAPTION}’ link=’Lightbox’ new=’Yes’]. This is embedding SmugMug images, and the images appear correctly, but when clicked on it forces your lightbox to load. That’s why I am hoping there is some way to completely disable ii, since individual images when placed and clicked on take the visitor to the appropriate SmugMug image or gallery. Thanks!

Post count: 22421

Hello,

Please note that 7.7 is the latest version, not 7.3
Now fort the lightbox. There is no simple way to remove it and use it with external images. The lighbox needs the images to link to the image file itself, not external links. If you use external links, you should disable the general modal image from here: https://www.screencast.com/t/AoiQHZlAeBTC
You can remove the modal image from the featured image from here: https://www.screencast.com/t/tKnmIYeqd but there are places in the theme where the lightbox is hard coded like for example on smart lists or the tagdiv gallery. Unfortunately there is no easy way to remove the lightbox from these elements. sorry.

Thanks.

Post count: 34

Thank you for the info, Bogdan. That is very concerning in that it means that because the vast majority of the images we are using on this site are externally housed, we cannot use any type of slider or gallery plugin that uses shortcodes, or the visitor will see constant “the image could not be loaded” errors. I have used dozens of themes over the past 4-5 years and I have never encountered this before. Do you have any thoughts of providing a global option to disable the lightbox effect entirely? We really like so many things about this theme, but we are going to have to abandon it now if we can’t use gallery or slider plugins. I guess I am confused as to why you would create a theme that negates the use of any other galleries or sliders that are using external links, rather than just remove your own lightboxing feature and bundle a few plug-ins with it, or at least recommend a few third-party options if galleries or sliders are required by the site developer.

Post count: 22421

Hi,

Unfortunately our theme was not created with external images in mind. We created the theme to be used with the media library. Unfortunately there is no simple solution to remove the lightbox across the whole site. It is hard-coded in the theme files.
Sorry for the inconvenience.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.