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
Downloading Images from lightbox interface
-
- Posts: 3
- Joined: Fri Apr 01, 2011 4:28 am
Re: Downloading Images from lightbox interface
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:
It will give you the URL of the picture from any thumb.
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");
Juan Soldi
The Helium Scraper Team
The Helium Scraper Team