Codeinwp / Nivo-Lightbox-jQuery

A simple, flexible, responsive, retina-ready jQuery lightbox plugin.
http://dev7studios.com/nivo-lightbox
MIT License
157 stars 87 forks source link

Will not trigger when using the Photon feature included in JetPack #47

Open phoenixMag00 opened 9 years ago

phoenixMag00 commented 9 years ago

Just a quick bug report. It looks like the the lightbox will not trigger if there are parameters on the end of the image file. For example, this image link will open just fine in a lightbox:

http://www.dwellus.com/wp-content/uploads/2014/12/creighton-1.jpg

However, this will not work:

http://i2.wp.com/www.dwellus.com/wp-content/uploads/2014/12/creighton-1.jpg?resize=1200%2C800

I believe the resize parameter is causing the issue since I was able to get an image in a lightbox to open with this url:

'http://i2.wp.com/www.dwellus.com/wp-content/uploads/2014/12/creighton-1.jpg'

Thanks for the great plugin!!

jeherve commented 8 years ago

I believe the problem is similar to the one reported in #64. As you mentioned, the lightbox doesn't support images including query strings.