Re: Photo gallery with description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trevor,

So are you going to offer your gallery code for use by others? Just curious. I'm also working on
my own version of gallery software. I am using Gallery
(http://gallery.menalto.com/modules.php?op=modload&name=News&file=index) currently, but hate that
it does not easily integrate into my site. Would prefer to have components that I can just plug in
instead of having a stand alone gallery system. By the way Gallery does not use/require a database
to store photo information. It uses flat files. Though your point is valid about less server load
there is some I/O load 
in opening and reading these files to build the page

Also, as just a suggestion I would discourage you from using table in your HTML. Check out the new
book from Eric Meyer http://more.ericmeyeroncss.com In one of these chapters he actually build a
photo gallery. Note that he is presenting CSS instruction so there is no mention about the
dynamics of your backend language. It's more on how to display the photos using CSS instead of
HTML tables.

Don't want to start a whole wholly war discussion. Besides this is not a CSS list.

Paul   

--- "Gryffyn, Trevor" <TGryffyn@xxxxxxxxxxxxxxxxx> wrote:
> I'm doing my own and plan to keep developing it.  I feel the same way,
> those other scripts are really neat but they do WAY too much for what I
> want.
> 
> The script that powers the link below is one file, no database setup
> (currently and I'm thinking about keeping it that way... Or making a
> PHP5 version using SQLLite), nothing fancy.
> 
> Current functionality:
> 1. Upload filename.[bmp|jpg|gif|png(?)|forget what other formats] to a
> folder along with a "tn_filename.jpg" file as the thumbnail.  If no
> thumbnail is available, it will try to use the full image as a thumbnail
> but only if it's under a certain size (set in variable)
> 2. Dynamic # of columns to display (set in variable)
> 3. Auto-resizes thumbnails in <img> tag to fit in the table nicely..
> Proportions are maintained
> 4. Displays full size image with forward/back/first/last/back to
> thumbnails controls that ghost when you hit the beginning or end of the
> images
> 
> Things left to do:
> 1. Have it dynamically scan the directories under the script's directory
> for dirs with images and get dir descriptions and such.  Right now I
> have a static menu that doesn't cover all the image directories I have
> uploaded
> 2. Make it so each image can have it's own text description so you don't
> have to rely on descriptive filenames.
> 3. Add an "upload" feature
> 4. Generate thumbnails serverside instead of requiring the user to
> generate their own
> 5. Use text files or SQLLite to store description of files.  I think
> many people under-estimate the power of a simple formatted text file as
> a data storage device.   There's zero server overhead for using file()
> to load a text file and you can parse it's data into arrays or whatever
> as a simple micro flat database
> 6. Make it all a little nicer looking
> 
> Some of this functionality I already have in other scripts, just havn't
> had time to incorporate it into my "Photohunt" script, so it's kind of
> rough looking right now.
> 
> Here are the links -
> 
> Main Photohunt site with some stuff in it:
> http://www.gryffyndevelopment.com/photohunt/
> 
> Photos from Hurricane Isabel's flooding of downtown Annapolis, MD
> http://www.h18.org/photohunt/index.php?imagedir=flood
> http://www.h18.org/photohunt/index.php?imagedir=flood2
> 
> 
> I'll continue to develop this.. Just moved into a new house and have
> tons of unpacking to do still though.
> 
> I wasn't going to post this because everyone else had such
> uber-developed photo gallery scripts being posted but since it was
> depressiong you, Bobo, to think that everyone was using pre-fabricated
> scripts I thought I'd try to brighten your day a little. Haha.
> 
> My friends ask me why I choose to re-invent the wheel and write my own
> scripts..  It's because it makes it MINE.. And I can it to do whatever I
> want it to do.   And it's fun :)
> 
> 
> -TG
> 
> 
> > -----Original Message-----
> > From: Bobo Wieland [mailto:bobo.wieland@xxxxxxx] 
> > Sent: Wednesday, May 12, 2004 5:04 AM
> > To: php-windows@xxxxxxxxxxxxx
> > Subject:  Re:RE: [PHP-WIN] Photo gallery with description
> > 
> > 
> > Doesn't anybody do their own thing anymore? This is so 
> > boring, uninspiring and depressing...
> > Does any of the suggested gallery code do exactly what Lenny 
> > asked for? In my experience you always get a lot more then you want
> when 
> > using packages like this. And if you want to do something different
> with it 
> > it's difficult to find out where to add what because of the massive 
> > over-head of code...
> > 
> > Making a simple upload form and a db for the description 
> > shouldn't be to hard, should it?
> > 
> > 
> > .bobo
> > 
> > ----- Original Message ----- 
> > From: "Lenny Davila" <Lenny@xxxxxxxxxxxxxxxxxx>
> > To: <php-windows@xxxxxxxxxxxxx>
> > Sent: Wednesday, May 12, 2004 12:40 AM
> > Subject:  Photo gallery with description
> > 
> > 
> > I am trying to find a photo gallery (Preferrably PHP based) 
> > that I can set
> > up for a client that would allow him/her to upload their own 
> > photos, and
> > leave a caption under.  The client will update the album 
> > regularly and wants
> > to be able to do it on their own.  They wouold also like to have a
> > description of the photo underneath that they would also like 
> > to be able to
> > create themselves.  Kinda like the yahoo or msn group photos.
> > TIA
> > Lenny
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux