• Resolved Clickadelic

    (@clickadelic)


    Hi,

    I’m using WP 4.1 and SLB Version 2.3.1. and like it a lot because of its simplicity.

    Unfortunately, when clicking on a gallery image, the overlay is being positioned correctly (filling 100% width, 100% height, slight opacity) but
    the actual image is being loaded at the very bottom of the page.

    This results in confusion, becauuse there is nothing to see except the overlay, and the user has to scroll to the bottom manually, to see the image. With each next image, which is being loaded, the lightbox container with the image is being pushed further down.

    The JS of the plugin inserts some inline-styling with top: 2800px or something.

    Of course, I have simply tried to override this value by:
    div.slb_viewer_layout { top: 100px!important; }

    which does work, but this handish value breaks the scoll logic, making it very awkward to use the plugin.

    I have tested this behaviour in Chrome, FF, Opera.
    The bug can be seen here: https://beta.reifengundlach.de/20-jahre-gt-radial/

    I will remove all bugfix-attempts to give you the raw problem.

    Thank you for any ideas on how to fix this.

    Best Regards

    Toby

    https://www.ads-software.com/plugins/simple-lightbox/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, invalid HTML can prevent the browser from properly parsing the page, which then causes incorrect position data to be sent to SLB.

    Resolving the invalid HTML should allow correct data to be sent to SLB.

    More information: Validation results

    Thread Starter Clickadelic

    (@clickadelic)

    Thank you for your approach, I will check validity and give you some feedback asap. Thanks again for your hint.

    Regards
    Toby

    Hi I’ve the same problem but i can’t find the invalid HTML and solve it.
    How can I do?
    Where i can send you in a private message the site addresse?

    Thanks
    Sil

    Plugin Author Archetyped

    (@archetyped)

    Hi Silvioti, currently only public support is offered for free, so that others can find answers to issues they may be experiencing. You can post a link here or you can create a ticket on SLB’s official support forum.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong positioning of image’ is closed to new replies.