NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: dcpeders on August 27, 2013, 06:10:24 AM

Title: Using "on click" on an image
Post by: dcpeders on August 27, 2013, 06:10:24 AM
I have a browse showing images. These are thumbnail size. When I click on an image, I would like to download the larger image to be viewed in a seperate page.

I do not want to load the larger images at the same time as the thumbnails as that takes way to long.

I do not see were I can put the code to download the larger image after clicking the thumbnail?

Thanks,

Dave Pederson
Title: Re: Using "on click" on an image
Post by: Bruce on August 28, 2013, 10:58:23 PM
set the url "on click" for the image to be the name of the non-thumbnail image.
for example, say you have bob.jpg and bob-thumb.jpg in the \images folder
then the onclick for the browse image becomes
'images\bob.jpg'
set the target to '_blank' to make the image appear in another tab.

cheers
Bruce