Hacker News new | ask | show | jobs
by philjackson 5034 days ago
These things break the web by making it impossible for me to send a link pointing at the lightboxed content to a friend.
3 comments

Also has broken usability: the next/prev arrows move underneath my cursor based on the size of the image.

So many lightboxes get this wrong. I don't get what's so hard. Keep the main UI in one place.

And there's no reason that this has to be the case either. The JavaScript history API could be used to push unique URLs into the address bar on each image view.
You can have a unique link for the lightbox simply by using a query string to automatically launch the lightbox.
I think he means we can't even Right click -> Copy Image URL, at least not in Chrome

So there's no way to access the raw image without searching in source code (unless I'm missing something).

In any case that's what I don't really like about it.