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 it's 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 and customSources props are not reactive, how to change lightbox sources?