In the file lightbox2/js/auto_image_handling.js the line href = $(child).attr("src").replace("_s", "").replace("_t", "").replace("_m", "").replace("_b", ""); is replacing the wrong when the url is something like: http://farm4.static.flickr.com/3150/2685270761_b48bfdb6c8.jpg.

I fixed it on my installation with the code: href = $(child).attr("src").replace("_s.", ".").replace("_t.", ".").replace("_m.", ".").replace("_b.", ".");

Comments

stella’s picture

Status: Active » Fixed

Committed to CVS and will be included in the next release. Thanks!

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in Lightbox2 6.x-1.9 and 5.x-2.9.

Cheers,
Stella