Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic gallery "rotation" script?

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi,

I've written an application in Perl, for a "gallery" project ... This basically lets people upload their images, and they are saved locally - shrunk down (with Image::Magick), and then get shown in a 3 column table.

I'm now trying to come up with something like this:


The problem I'm having, is:

1) It needs to be allow me to specify 2 images:
+ The thumbnail (100x100 pixels)
+ When clicked on, the full image

However, I'm using "lightbox" (not sure how many people are aware of it) .

This requires "links" to the full image, to be formatted like so:

<a rel="lightbox[roadtrip]" target=screen1 href="/path/to/the/full_image.gif"><img src="/path/to/small/image.gif" border="0"></a>

Does anyone know of an existing script that would do this? Don't really wanna have to start from scratch with it, as my JS codes are a little rusty =)

TIA

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top