rlightbox2 icon indicating copy to clipboard operation
rlightbox2 copied to clipboard

Lightbox doesn't work on JPG extension

Open kubaceg opened this issue 12 years ago • 2 comments

image:{urls:[/.jpg$|.JPG$|.PNG$|.png$|.gif$/],type:"image"} and problem solved

kubaceg avatar May 24 '12 11:05 kubaceg

Thanks. It was solved in testing repo. Unfortunately, rlightbox is not maintained at the moment.

ryrych avatar May 26 '12 17:05 ryrych

Actually image:{urls:[/.jpe?g$|.png$|.gif$/i],type:"image"} would make more sense as it matches both jpeg and jpg extensions and since the expression has 'i' at the end of it, it would be case insensitive.

I discovered this issue because I tried loading '.jpeg' files and the lightbox wouldn't work. But '.gif' images and '*.jpg' images were working fine. I wanted to report it but I see that was already done. Just thought I'd contribute.

rahuljitendradesai avatar Jun 08 '12 10:06 rahuljitendradesai