MDurante Posted June 13 Posted June 13 Hello! I want to be able to link to specific images in my galleries from external websites, and then when the user closes the lightbox image my website remains in the browser. Right now, when I open an image from a link and close the lightbox with 'X', instead of returning to the gallery page, the browser window closes or returns to the browser start page. It's happening with Chrome and Safari on desktop, though interestingly the desired behavior happens with mobile Safari! Here's an example link: https://www.matthewalfonsodurante.com/portraits?itemId=q63aaepm7plimgcqvop2xnn8aypz5l Do I need the modify the url somehow? I really have no idea what to do .... Maybe this is a browser/os specific thing and there's nothing to be done. Thanks for any help! - Matthew Durante Beyondspace 1
Beyondspace Posted June 14 Posted June 14 6 hours ago, MDurante said: Hello! I want to be able to link to specific images in my galleries from external websites, and then when the user closes the lightbox image my website remains in the browser. Right now, when I open an image from a link and close the lightbox with 'X', instead of returning to the gallery page, the browser window closes or returns to the browser start page. It's happening with Chrome and Safari on desktop, though interestingly the desired behavior happens with mobile Safari! Here's an example link: https://www.matthewalfonsodurante.com/portraits?itemId=q63aaepm7plimgcqvop2xnn8aypz5l Do I need the modify the url somehow? I really have no idea what to do .... Maybe this is a browser/os specific thing and there's nothing to be done. Thanks for any help! - Matthew Durante Could you share a screen capture to demostrate the issue? So far when visiting your site with the URL I can see lightbox pop out with the selected image, as soon as closes the lightbox it show the main gallery page content, which is expected BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
MDurante Posted June 20 Author Posted June 20 (edited) Thanks @Beyondspace appreciate it. It works as you describe with iOS and Safari, but on macOS with Safari or Chrome, and on Win 11 with Edge or Chrome, when the lightbox is closed the window either closes or returns to the browser's "Start" screen. This is probably an os thing, and maybe there's nothing to be done! I will try to do a screen capture ... Edited June 20 by MDurante
MDurante Posted June 29 Author Posted June 29 Here's my issue! Click the link, close the lightbox image and the while tab closes... I'd like just the lightbox to close and to remain on the gallery page ... Any ideas appreciated! Screen Recording 2024-06-28 at 9.54.29 PM.mov
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment