Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep-linking in to a gallery from a page that hosts the gallery #397

Open
AntSmith60 opened this issue May 28, 2023 · 0 comments
Open

Deep-linking in to a gallery from a page that hosts the gallery #397

AntSmith60 opened this issue May 28, 2023 · 0 comments

Comments

@AntSmith60
Copy link

I can't deep-link into a gallery from the page on which the gallery appears, deep linking from anywhere else works fine. This means I cannot provide in-page links to open a given image when discussing that image.

Eg. on this page:
https://antsmith.net/photography/sprung

You can see beneath the gallery I discuss one image and provide the deep link, which updates the URL but does not open the gallery lightbox (the bold "I'm Late" link, with a link icon next to it).

===========

I can happily add a window.location.hash changed handler into my JS, but I can't see what I can call in the nanogallery2.js to cause the gallery lightbox to open for the deep linked image.

Can anyone provide any advice on this???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant