Closed dmorda closed 4 years ago
I'm trying to use fslightbox in combination with Sanity.io. However, when I use the images generated by it, I get an invalid source error in the lightbox. The easiest way to reproduce is to use the following image as an example.
https://cdn.sanity.io/images/2pnwyrpr/production/b58831db14f6f1c29c82308860230b30e0f1651b-2066x1528.jpg
Any idea if I can workaround this?
False alarm, if I add type="image" as a prop, all works as expected.
I'm trying to use fslightbox in combination with Sanity.io. However, when I use the images generated by it, I get an invalid source error in the lightbox. The easiest way to reproduce is to use the following image as an example.
https://cdn.sanity.io/images/2pnwyrpr/production/b58831db14f6f1c29c82308860230b30e0f1651b-2066x1528.jpg
Any idea if I can workaround this?