Hi Guys,
Got an odd one. This was working fine before latest newspaper update.
We have galleries like the one here using the mosaic option. I’ve also tried with other gallery types and the same thing happens.
When clicking one of the images to enlarge, instead of opening attachment.php it attempts to open a lightbox and gets the error -The Image could not be loaded. This is an urgent one we need to fix please.
Example – http://www.heyuguys.com/six-new-revealing-stills-christopher-nolans-interstellar/ (click one of the 6 images at the bottom of the post).
Thanks.
Dave
-
This topic was modified 11 years by
daveszt. Reason: forgot to add link
I was doing this recently and got that error when I had it link to attachment page instead of media file, or vice versa – can’t remember. Switching to the other option fixed it.
Oh, gotcha. I thought you were hoping to get the lightbox working.
Not sure, will have to wait for tagDiv support…
Hi,
If you want the images to link to the attachment page then you will have to disable the light box, follow this topic you will find out how to do it: https://forum.tagdiv.com/topic/dont-want-light-box-for-images/#post-17108
Thanks
Hi,
This happens when you set images/gallery to link to attachment page. You need to edit the gallery/image and set it to link to media file instead.
If you need them to link to the attachment page use this method to remove the light-box feature as it wont work with images linking to attachment page: https://forum.tagdiv.com/topic/dont-want-light-box-for-images/#post-17108
Thanks
Roger that. It’s just annoying having to make all these changes to files manually everytime we update the newspaper theme.
Also just spotted if i change that code, the menu bar doesn’t seem to want to scroll down the site any longer and also the youtube embeds dont auto-resize to the width of the page.
Thanks.
D
-
This reply was modified 11 years by
daveszt.
It also seems to stop the ‘Load More’ buttons working on the homepage. http://www.heyuguys.com/
Hi,
Please make sure you remove only the part pointed in the screenshot, I have tested this and should not affect other features.
Please double check and if still doesn’t work please replace your site.js file content with this: http://pastebin.com/4NvAb6rF
Thanks