FAQ
I've passed correct url but lightbox displays message: Invalid file!
You've most likely used external url without CORS enabled so lightbox cannot detect its type automatically.
There are two ways to fix it:
- you can put source you want to display on your server
- you can specify source type manually using types prop. More...
Lightbox doesn't change sources!
sources prop is not reactive, how to change lightbox sources?