Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.8
Component:
Javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2008 at 23:56 UTC
Updated:
8 Jan 2009 at 13:52 UTC
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
Comment #1
stella commentedCommitted to CVS and will be included in the next release. Thanks!
Cheers,
Stella
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
stella commentedReleased in Lightbox2 6.x-1.9 and 5.x-2.9.
Cheers,
Stella