Web Hosting Talk







View Full Version : Good photo gallery?


VanHost
02-10-2004, 06:15 PM
Anyone have any suggestions on a pre-made photo gallery (open-source) that would integrate well with an existing site?

If not, can someone point me in the right direction of a script/code that does the following:

If I have all the thumbnails on a page name in the following sequence: 1.jpg / 2.jpg / 3.jpg / etc.

I want the user to be able to click on the thumbnail and have a new window pop-up with the full size image in it. I do not want to display an HTML page with the image embedded on it. I would like the script to call that specific numbered JPEG.

I'm sure that this is easily accomplished via JavaScript, my mind is just tired right now, so can't really figure out the code.

coppilot
02-10-2004, 08:43 PM
I was just thinking the same thing. It's annoying having to create a new html page for every pic you want to view as alarger image. I build sites for realesate people and have lots of pics that have to be enlarged. Good question. I hope someone has the answer.

VanHost
02-10-2004, 09:28 PM
Yeah, if noone answers, I'll just have to shock my brain into enough energy to come up with the code.

CD Burnt
02-11-2004, 01:28 AM
could you just modify your html to open the images?

A HREF="1.jpg" TARGET="_BLANK" ><IMG SRC="thumb1.jpg"></A

VanHost
02-11-2004, 02:00 AM
I also want to control the window's appearance though, which is only acheivable through JavaScript. Any ideas?

eddy2099
02-11-2004, 02:10 AM
If you don't mind PHP, you could use Gallery http://gallery.menalto.com/modules.php?op=modload&name=News&file=index . It actually pretty simple to use.

VanHost
02-11-2004, 03:00 AM
PHP would be fine, I'll take a look. Thanks Edwin.

mson
02-11-2004, 01:14 PM
I would also recommend Gallery, however, I'm not sure if you can have the picture open up in a new window...

eddy2099
02-11-2004, 02:38 PM
By default, it will not open to a new window but I believe you could hack the template to accomplish that. Shouldn't be that difficult.

zeonite
02-11-2004, 10:25 PM
There are also (in PHP):

4Images Gallery: 4homepages.de/
Coopermine Photo Gallery: coppermine.sourceforge.net/

PS: Sorry, I can't post URL's yet :/

HostBoy
02-12-2004, 09:02 PM
Originally posted by zeonite
There are also (in PHP):

4Images Gallery: 4homepages.de/
Coopermine Photo Gallery: coppermine.sourceforge.net/

PS: Sorry, I can't post URL's yet :/

Yup def the best, simple and really efficient.

ronnydynamic
02-17-2004, 05:51 PM
Originally posted by eddy2099
If you don't mind PHP, you could use Gallery http://gallery.menalto.com/modules.php?op=modload&name=News&file=index . It actually pretty simple to use.

Excellent program