Thank you very much John. Its working great!
Martin
Printable View
Thank you very much John. Its working great!
Martin
Hello,
I was wondering if its possible to go to a specific image within the array as per clicked.
Example gallery: http://www.tomalextile.com/gallery.html
Thank you
I take it there is no way to point to a specific image within the gallery?
Sorry, the files needed to be re-uploaded. Its working now.
Thanks
Here:
You would need to set the URLs to pages that you either have or that you could make that display whatever you want, including an image of your choice, links to other pages of images, anything.Code://Set corresponding URLs, width and height for links in a new window
//for each of above images. Define ONLY if variable linkornot equals "1"
photoslink[0]=["http://www.google.com/", 300, 250]
photoslink[1]=["http://www.yahoo.com/", 500, 100]
photoslink[2]=["http://www.dynamicdrive.com/", 375, 200]
Actually, I was trying to link the thumbnail to a particular image within the array. For instance, if I clicked the 2nd thumbnail, it would open up the second image (photos[1]="images/gallery/tile1.jpg")
Either put the image you want on a page and link to that or put the image itself into the link array. A page will look much better in IE, other browsers can display just images in windows more gracefully, ex using just an image:
You will probably want to pad the width and height by adding about 20 to what the actual width and height of the image is.Code:photoslink[0]=["photo1.jpg", 300, 250]
A page is still the best bet as, the way images are rendered in new windows by browsers varies widely.
Well, there are inherent problems with new windows. They can, in theory, do that - fairly easily, in fact. The problem is that many times they are blocked or controlled by the browser in ways that you wouldn't expect.
Just the idea of loading a series of large images into a new window slide show with transitions implies that you don't really want any visitors with a dial-up connection using it. They really won't be able to. Even users with a high speed connection, if the bandwidth dips, will have trouble. Connection speed makes no difference if the window is blocked.
A better approach is to have the slide show be of smaller images. If you click on a particular image, you get one page or an overlay with one larger image on it.