Hi!
With the Image module it is possible to reference the image using the node's id. In this case the image url has this kind of syntax: image/view/<nodeID>[/<preset>]. I've added a replace call to remove the preset of these kind of links to reference the original image.
22,24d21
< /* CsNo: Image module uses image/view/<nodeID>[/<preset>] links to reference directly to the images.
< * My replace call removes the preset from the end to reference the original image.
< */
27c24
< href: $(child).attr("src").replace(".thumbnail", "").replace(/(image\/view\/\d+)(\/\w*)/, "$1")
---
> href: $(child).attr("src").replace(".thumbnail", "")
32d28
Regards,
Norbert.
Comments
Comment #1
csiknor commentedActually I've made a mistake. To reference the original image we have to use the "_original" preset.
Norbert
Comment #2
stella commentedHi,
I've added this patch to CVS and it will be included in the next release. In future, please follow the Creating Patches guidelines. Thanks.
Cheers,
Stella
Comment #3
(not verified) commentedComment #4
stella commentedReleased in Lightbox V2 5.x-2.2.
Cheers,
Stella