• Resolved omniterry

    (@omniterry)


    Hello there,

    I have downloaded your plugin but I can’t seem to get it to work:
    I have added a wordpress gallery in a page and when I click on an image i am getting my theme’s(BRIDGE Theme) default LightBox.

    I messed around a little bit and when under Gallery settings I chose Link To: “Attachment Page” instead of “Media File” then your LightBox displays but the image is not displayed and I am getting the message “The requested content cannot be loaded. Please try again later.”

    Do you think this can be rectified? Thank you very much!!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello

    Please update the plugin to v. 1.3.2. It should resolve the problem when gallery is configured to open attachment pages. About conflict with other lightbox, could you provide a link to a page where it occurs to have ability investigate it?

    Thread Starter omniterry

    (@omniterry)

    Hello there,

    I have updated to 1.3.2 and now I’m getting a 404 error when Link To is set to Attachment Page. Please visit my page to inspect further: https://christosefstathiou.com/portfolio_page/insects/

    Furthermore if i try linking to Media File your lightbox does not get displayed at all. The theme’s default lightbox is used instead.

    Thank you very much for your help!

    Plugin Author arisoft

    (@arisoft)

    Hello

    404 error is not related to “ARI Fancy Lightbox”. You can try to open attachment page directly into a browser and 404 error will occur. For example the following pages:

    https://christosefstathiou.com/insects-14/
    https://christosefstathiou.com/insects-13/

    About problem with default lightbox, as we mentioned in our previous post, could you provide a link to a page where the problem occurs so we can investigate it?

    Thread Starter omniterry

    (@omniterry)

    Hello

    These URLs are a result of a malformed href attribute created by your plugin. If I deactivate the plugin nowhere on the site is there a reference to the malformed URLs.

    In fact when your plugin gets deactivated the hrefs become:

    https://christosefstathiou.com/wp-content/uploads/2018/03/Insects-14.jpg
    https://christosefstathiou.com/wp-content/uploads/2018/03/Insects-13.jpg

    I have created a duplicate page only this time the Gallery Link is set to media file. Here it works perfect but for some reason it is shown in the theme’s lightbox instead of yours:

    https://christosefstathiou.com/portfolio_page/test/

    Thank you

    • This reply was modified 7 years ago by omniterry.
    • This reply was modified 7 years ago by omniterry.
    Plugin Author arisoft

    (@arisoft)

    Open “Advanced” tab on “ARI Fancy Lightbox” page and populate “Custom JS code” parameter with the following code to remove original lightbox:

    setTimeout(function() { $('.gallery A').off('click.prettyphoto'); }, 10);

    About links, the lightbox doesn’t modify gallery links. These links to attachment pages (when “Link to” parameter is set to “Attachment page” in gallery settings) and they are generated by gallery.

    Thread Starter omniterry

    (@omniterry)

    Hello there,

    This solved my problem! Now the gallery displays perfectly when linked to Media Files. But if I wanted it to work with Attachment pages too what do I have to do ? Is it a WordPress bug that a wrong href is generated or do I need to contact my theme’s author?

    Once again thank you very much!!!

    Plugin Author arisoft

    (@arisoft)

    It seems this problem with data in database. WordPress creates special attachment post type for uploaded media. You can check DBPREFIX_posts database table.

    Thread Starter omniterry

    (@omniterry)

    Thank you! For some reason I seem to be getting the same behavior in another page too. The theme’s default lightbox is showing instead of yours:

    https://christosefstathiou.com/portfolio_page/paintings

    Can this be fixed too?

    Thank you very much!

    • This reply was modified 7 years ago by omniterry.
    • This reply was modified 7 years ago by omniterry.
    • This reply was modified 7 years ago by omniterry.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Lightbox not showing’ is closed to new replies.