PDA

View Full Version : Snaps! Gallery


sonicgroup
December 5th, 2004, 22:22
I don't really consider this advertising, since I made it open source, so I'm going to post it here. If the admins wish to move it, please do. :)

I recently finished an image gallery script that I call Snaps!. It's written in PHP and uses MySQL for a database backend.

More information, feature list, etc., etc., as well as screenshots at the Snaps! home page (http://labs.sonicdesign.us/projects/Snaps!/).

Edit: Some info that is not on the website that I wanted to add: it does not currently support sub-albums (i.e. albums within albums).

If anyone has a need for it, or just wants to try it out, feel free. Let me know what you think, any problems or bugs, etc. I use it on one of my client's sites (that's why I made it in the first place), so I need to get some other installations going and see what happens.

Thanks. :D

Corey Bryant
December 5th, 2004, 22:25
Somewhat offtopic... We use Windows & we have two galleries actually to offer our clients. I notice this one uses PEAR? For some reason - I do not have that installed but PHP does work.

Other than that, it looks great! Does it also support unlimited sub-categories?

sonicgroup
December 5th, 2004, 22:28
Well, PEAR is just a set of libraries, so PHP will work without them. The nice thing about PEAR is that most newer PHP installations come with it, and the libraries are very useful, and standardized to a degree. For instance, the DB library that I use abstracts everything so you can use it with virtually any database server, since you aren't using DB-specific functions or options.

It supports unlimited albums and unlimited images - but, as of now, you can't have albums in albums.

Thanks for the comments. :)

Corey Bryant
December 5th, 2004, 22:31
I'll try to play with it this week & see if it will work on my system. PEAR & PHP - well I only know enough there to be in very big trouble. Never even really knew what PEAR was.

The screen shots look fantastic!

sonicgroup
December 5th, 2004, 22:33
More info on PEAR can be found at PEAR.PHP.net (http://pear.php.net). It's really easy to install and use, and if you've got a recent installation of PHP (4.3.x or newer), you should have the base set of PEAR packages already.

the_pm
December 5th, 2004, 23:14
Ooh! Very...snappy ;)

Nice stuff Dave. I'd like to try my hand at skinning it, maybe make something worth distributing with it (or not - skinning isn't really my biggest strength). I'd like to download it and play with it a bit. Does it support GD2? Do you have screenshots of it in action from the visitor standpoint?

sonicgroup
December 6th, 2004, 00:02
I need to do more refining on it, hence why I'm trying to get some other installations going.

As of right now, it only supports GD2 - that's one of the things I plan to change - adding support for ImageMagick and prehaps NetPBM as well.

As far as a visitor demo - you can check out the client site that I wrote it for - OurPadre.com (http://www.ourpadre.com) (click on Pictures).

the_pm
December 6th, 2004, 01:02
Hmm...I just noticed it's v.1.0. Does that mean it is officially a version one stable release? If that's the case, I'll use it on an upcoming project for a client! I was considering installing a photo gallery, and I would be honored to be one of your first installations!

Can I make functionality requests? I've often looked for applications that allow me to one-click functionality on and off, but I mean all functionality. I'd love to be able to install a gallery where I could check a few buttons and take it down to thumbnails and full size pictures - no breadcrumbs, no comments, nothing else. But then to be able to quickly and easily turn bits of functionality on as requested. That sort of thing. Is that already a part of the script?

sonicgroup
December 6th, 2004, 02:33
Well, it's version 1.0, and what I consider stable. ;) If you wanna do a test installation to make sure everything works as expected, feel free, and let me know what doesn't work.

As for your requests (and yes, please do make requests) - currently no. The next release (which will hopefully be pretty soon) will feature the ability to turn on/off the comments. However, turning off the breadcrumbs would require a bit more work, but is something I may look into doing.

As for just thumbnails and full size images - the script wasn't really written for that, and seeing as how it was built around the album concept, it would be difficult to change it to be able to have this mode. If you are looking for something like that, I can point you to a decent one.

the_pm
December 6th, 2004, 03:19
Well, I'm talking about a script that does all of the organization on a back end, but displays only the basics on the front end. But I'd really like to try this one out - it looks fantastic from what I've seen playing with it :)

sonicgroup
December 6th, 2004, 05:14
Thanks for the kind words.

It seems I pulled a bonehead though. The Snaps!.image.php file included in the version 1.0 is an old version and only supports JPG images. I've released a 1.0.1 bug fix release with the updated files.

Christina
December 6th, 2004, 08:18
hmm...looks very interesting!! I'll have to take a look and maybe try this out ;)

sonicgroup
December 15th, 2004, 02:36
Just a quick note: v1.2 is out now - updates include image caching and the ability to enable/disable: comments, image submission, and caching.