>The downside is that you will have to manually create the thumbnails and the displayed images. I've made a Macromedia Flash MX application that loads a newly uploaded image (uploaded by a php script) where the user can select an area of the image. The coordinates of the selected area is then passed to a php script that creates a thumbnail based on these values... Right now it's made exclusivly for a client of mine and works only in the way they need it to work so I need to tweak it a bit for it to work for everyone... It also requieres MySQL to work... I can let you know when it's done if you're intrested... .bobo dev@xxxxxxxxxxxxx ----- Original Message ----- From: "Jattie van der Linde" <jvanderlinde@xxxxxxxxxxxxxxxxxxxxxx> To: "Gryffyn, Trevor" <TGryffyn@xxxxxxxxxxxxxxxxx> Cc: <php-windows@xxxxxxxxxxxxx> Sent: Friday, May 14, 2004 12:26 PM Subject: RE: Photo gallery with description I've build some simple code to display thumbnails on a basic album page and then reading the directories and automatically putting the images and the comments on the images in a file. The downside is that you will have to manually create the thumbnails and the displayed images. I suppose the next step of really making the product useful is to automate the process. Will work on that. I use easy thumbnails (http://www.fookes.com/ezthumbs/) to create the thumbnails and ACDSee Classic (http://www.acdsystems.com/English/Products/ACDSeeClassic/index?LAN=englishX 24)to comment the images with. Is there some code sharing section on this forum? The files can be downloaded from: http://jattie.co.uk/software/index.htm Please drop me a note when you find this useful and also let me know what enhancements you'd like to see. -----Original Message----- From: Gryffyn, Trevor [mailto:TGryffyn@xxxxxxxxxxxxxxxxx] Sent: Wednesday, May 12, 2004 4:31 PM To: Paul Menard Cc: php-windows@xxxxxxxxxxxxx Subject: RE: Photo gallery with description > 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&f > ile=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 Yes, I will be offering my various scripts up, probably on http://www.gryffyndevelopment.com when I get a chance to get them updated to where I want them to be ('finished' in a sense) and have a chance to set up a page for people to access. I wrote a pretty slick (if I do say so myself) duplicate file scanner and a calendar app (yeah, everyone has a calendar.. But everyone has a photo gallery too. Hah) that I'd like to show off and share sometime. Maybe I'll spam the PHP lists with a link when I get my humble code gallery up. I'm very proud of some of the scripts I've written and some I have really big plans for at some point, but just need to find the time. As for the I/O load and all that, I'm not really sure what puts more stress on a server, but if I find evidence one way or another, I'll lean toward the side that has as little impact as possible. Maybe you can load the photo descriptions into an array and store it as a session variable. But file I/O isn't too bad on a small file that's probably going to end up in the server's file cache anyway. Lots of options, I just don't know EXACTLY which method has the smallest impact. > 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. Haha.. CSS is some really great stuff, I'm just slowly learning it and still have faint twinges of "Is it going to be fully compatible with 99% of the browsers that are going to hit it". I started doing HTML on Netscape 2.0 and really started doing a lot of HTML back in the late 90's when the Browser Wars were in full swing. Tables work fine for now. They may be deprecated at some point (are they already?) but in the meantime they're something I understand and know how to use so I stick with what I know. But thanks for the link. I'll have to take a serious look at it sometime soon. I really do want to learn more CSS. I'm just using it for some basic formatting stuff right now but know it's great for positioning things too. Good luck! -TG -- 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