- Create Account

Using thumbs to change photos?

Forums > PhotoMorpher > Using thumbs to change photos?
Author
Message

1) coguy11 Group: Members
Posts: 1 Joined: 18 Jul 2006 Location: IP: 66.192.--.--
This code is really great. Can someone help with trying to get it so you can switch photos by clicking on thumbnails for each photo?

Thanks,
Dave
If you have a solution to this, please email me at coguy11@gmail.com

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 155.205.--.--
Sure -- this is somethign I should probably add to the default demo script :). Check the CSS file, there's a suggestion in there.

Basically, put <img> tags in each of your <li> items for the appropriate thumbnail. Then simply modify the .CSS file so that the "display: none" isn't applied to non-active LIs so they're all visible at once. Polish it up and you're away laughing!

Good luck - Angus.

3) darnold Group: Members
Posts: 3 Joined: 3 Dec 2007 Location: Texas IP: 66.136.--.--
Angus, you are the man since finding this site I have had a lot of fun playing with all the neat scripts :)

I  am able to get the gallery working and the thumbnails work great, the only problem that I have is that I would like to display the thumbnails on a completely different area on the page, where as this only displays them directly above the images. Is there a way to work around this?

Thanks!
-David

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
I'm glad you like my scripts :).

Sure,  move the <ul> to where you want it, and adjust its CSS so it displays the way you want (you might want to float the LIs if you want them horizontal, for instance).

Good luck - Angus.

5) darnold Group: Members
Posts: 3 Joined: 3 Dec 2007 Location: Texas IP: 66.136.--.--
Got this bad boy hooking into a mySQL database and the thumbnails are looking very nice and square and styled <3

Once  I've got this cleaned up a bit I'll link you to it so you can take a look!

Thanks for the help,
-d

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.