Steffen
Well-known member
- Affected version
- 2.0.9
Unfortunately, the image gallery used by XenForo (lightGallery) doesn't only seem to have blurry rendering issues on Android, a broken back button behaviour and erratic pinch-to-zoom-support. It also seems to sporadically crop images on iOS / Mobile Safari.
Similar to the blurry rendering issue on Android, this bug isn't reliably reproducable (maybe the issues even have the same root-cause because in both cases the image rendering seems to be interrupted prematurely). For example, I cannot reproduce it in BrowserStack but (in addition to the report by one of our users) it was confirmed by a member of our team on an iPhone 6 running iOS 11.3.1. The original bug report (which is in german but there is a screenshot attached that shows the bug) links to a test-page which unfortunately is in a semi-private forum. I've asked the user whether he'd be fine with posting these images in a public thread but... on the other hand... does a bug-report in lightGallery really make sense anymore considering that this project seems to be more or less abandoned?
I think the only future-proof course of action would be to replace lightGallery with something better. As @Chris D already said in one of the other threads linked above, the popular alternative PhotoSwipe doesn't seem to be well-maintained either (no commits since February, 400 open issues). Maybe fancybox could be an alternative? It's working fine for me on Android, the back button works and it has really smooth pinch-to-zoom support.
Edit: I've attached a screenshot made by the mentioned member of our team. Left: when gallery first opened, Right: after swiping to other images and back again
Similar to the blurry rendering issue on Android, this bug isn't reliably reproducable (maybe the issues even have the same root-cause because in both cases the image rendering seems to be interrupted prematurely). For example, I cannot reproduce it in BrowserStack but (in addition to the report by one of our users) it was confirmed by a member of our team on an iPhone 6 running iOS 11.3.1. The original bug report (which is in german but there is a screenshot attached that shows the bug) links to a test-page which unfortunately is in a semi-private forum. I've asked the user whether he'd be fine with posting these images in a public thread but... on the other hand... does a bug-report in lightGallery really make sense anymore considering that this project seems to be more or less abandoned?
I think the only future-proof course of action would be to replace lightGallery with something better. As @Chris D already said in one of the other threads linked above, the popular alternative PhotoSwipe doesn't seem to be well-maintained either (no commits since February, 400 open issues). Maybe fancybox could be an alternative? It's working fine for me on Android, the back button works and it has really smooth pinch-to-zoom support.
Edit: I've attached a screenshot made by the mentioned member of our team. Left: when gallery first opened, Right: after swiping to other images and back again
Attachments
Last edited: