I’m trying to use Google photos with lightbox but I’m getting an error URL Not Supported. Interestingly I can click on that link and it takes me to the image.
I though it probably has something to do with - Lightbox Not Working With v5 Update and there not being file extensions on the google photo urls as I added .jpg to the end of the urls and the lightbox came up but with just a spinner going round and round.
So - I had a poke around the dmxLighbox.js file and figured out if I commented part of this line it works perfectly.
if (window.URL /*&& (m = new URL(i.href).pathname), /\.(jpe?g|gif|png|bmp|webp|svg)$/i.test(m)*/) {
Is this something we can get changed generally or is there a reason for it being like that?
Thanks.