Eastern Morning Forums

Lotus Goddess' Mirror - Dream of Mirror Online => News => Topic started by: Leirosa on August 30, 2017, 08:09:19 PM

Title: Image Viewing Update
Post by: Leirosa on August 30, 2017, 08:09:19 PM
I've made an attempt to modernize the way large images are viewed on this site by implementing a lightbox script.

Previously, when you clicked on one of the thumbnails to see the full size image, it would open the image in a new tab, but this method has felt increasingly outdated, and also very impractical when viewing on a mobile device. So, I've replaced this obsolete method with something a little more modern and convenient.

Now when you click to open the larger image, it will open the image on top of the page in a lightbox, and you can go through each of the images in that gallery by pressing the next and previous buttons (you can also swipe or press left or right on the keyboard to go back and forth). Clicking/tapping anywhere outside of the image will close it.

I tested on a few browsers and it seems to work fine, but please let me know if you run into any issues, or encounter missing or incorrect images.