PDA

View Full Version : PHP: Photo Gallery



spec
June 5th, 2002, 12:52
I just finished scripting this photogallery:
http://www.clanhq.net/photo/
you may ask me why re-invent the wheel? but this one is special
it requires NO database what so ever, Edit 2 variables and its ready to go. It requires NO administration whatsoever. all you do is add folders and images to the directiory and it automatically generates thumbnails and Categorys with NO files created

tell me what you think?

yarassa
June 5th, 2002, 15:18
hey it is great where can i dowload it??? ( but the thumbs are very big size.. )

Todd
June 5th, 2002, 15:20
I haven't been in the market for such a product so if they all behave this way forgive me for mentioning it.

The largest problem as I see it is that the thumbnails just have a resized height and width tag, meaning if you had 1 MB images being thumnailed it would download each 1 MB image causing a very slow thumbnail page and really defeating the point.

The only other thing I noticed was your popup windows were always the same size regardless of the image size. You might want to customize that a bit more for a "tighter" fit.

spec
June 5th, 2002, 16:03
thanks for the info. This is just an early beta so all the bug fix info is a great help. The size of the thumbnails are set by you I just defaulted it at 100px As for the pop up size that is a bug i will fix. As for the thumbnail filesize The only possible way to have the filesize smaller is if you(or the script) creates a smaller version which is not really what I want in the script. But i can add that feature if people want it

spec
June 5th, 2002, 17:06
the popup fits tightly now it was a js error

Gayowulf
June 6th, 2002, 00:20
What do you create the thumbs with?

I would highly suggest netpbm for this; it works a lot better than imagemagick oranything else. Its a nice simple gallery, I like it, and I may even employ it on part of my site when there is a less beta-ish version available.

I am used to working with larger more complex image gallery scripts (gallery.sourceforge.net) so this could be a welcome change)

spec
June 6th, 2002, 11:23
Thank you for the idea. Is this a item that the server admin would have to install? b/c of its free nature and the fact that most people cannot ask their administrators to install items I would like to find one that is more "active"

Gayowulf
June 6th, 2002, 19:24
All a user would need for netpbm is ftp access. the binaries are freely available for most flavours of linux. Ill find the link

spec
June 6th, 2002, 20:49
that would be most appreciated

Gayowulf
June 6th, 2002, 21:45
You can find the netpbm binaries here

http://sourceforge.net/project/showfiles.php?group_id=7130

I found them elsewhere too, but i know theses work because i am currently using them.

spec
June 6th, 2002, 22:37
oops wrong file
ok i am looking into this program thanks