Page 1 of 1

Downloading Images from lightbox interface

Posted: Fri May 20, 2011 1:11 am
by ecollectica
Hello,

I wanted to see if there are any examples or help on this forum that download images from the lightbox javascript library. The web site http://www.liveauctioneers.com uses it for displaying their images. Before I try and figure it out, I want to know if anyone have any similar js code they used for a job like this.
Thank you,
Ryan

Re: Downloading Images from lightbox interface

Posted: Fri May 20, 2011 5:37 pm
by webmaster
Hi Ryan,

If you select one of those thumbs while on selection mode, and I think this applies to every lightbox page, and then press the "Select parent" button in the selection panel, and then click on the "View code" button, you should see there the URL of the large version of the picture in the "href" attribute of the "A" element.

So if you create a JavaScript gatherer with the following code in it:

Code: Select all

return element.parentNode.getAttribute("href");
It will give you the URL of the picture from any thumb.