A lightbox style implementation for presenting images has been on my to do list for a long time. However my instinct is to create a native solution rather than integrate a third party library - unless I can find one that perfectly meets my requirements.
I keep delaying working on this because there is actually a lot of complexity to it and I have never have a large enough chunk of time to devote to it. For instance it isn’t clear if this library - which I have saved amongst many other lightbox implementatons in my Github stars - supports:
- image pre-loading on demand. That is, don’t load all the images in advance but do load the next and previous
- mixing different aspect ratios of images and resizing them for best fit
- it does have support for responsive images but I want to add native support for this in TW
- the ability to use the same mechanism for an inline slider of images, that is not in a lightbox
None of this is meant as criticism of the library you mentioned, rather just meant to illustrate some of the complexity involved.
The last time I worked on this - which I believe was last summer - I got as far as handling different aspect ratios in a complete wikitext implementation which relies on this tiny library from Streams for swipe support. The user experience was decent but cross browser CSS needed work. Since then I have had ideas for how we might possibly even avoid that need to resort to JavaScript, but alas simply no time to revisit that work.
I do hope to make more time to work on my own projects in the coming year, rather than devoting the entirety of my TW time to work on the core. So with any luck I will get back to this in the near future.