Page 1 of 1
decent gallery possible in php?
Posted: Sun Dec 20, 2009 11:09 am
by rob1
im still fairly new to php and trying to find the best way to build a photo gallery, is this something php is good at doing or should i be looking to use a different language?
i have thousands of photos and im finding it progressly harder to find my photos as they are just stored in folders on my network, i'd ideally like to be able to bulk load/process the photos using a recommended file structure linked with a database so i can then put keyword tags etc on each photo allowing me to find things easier.
once this has been done i would like to then publish part of my collection to a website (not yet built but with its own database) , is there a quick and easy way to sync the the two databases and files?? would i be looking to use something along the lines of XML? I would potientially like to allow others to upload photos to the website and if i liked them it would sync with my offline network collection ?
Re: decent gallery possible in php?
Posted: Sun Dec 20, 2009 2:59 pm
by califdon
Others with more experience in the exact operations you described may have other opinions, but here are my thoughts:
PHP is a language designed for creating dynamic WEB sites, so it is generally not suitable for applications not associated with web page creation. It is normally interpreted by a web server, like Apache, so if you're not serving web pages, PHP is not an appropriate language to use.
If you want to design the whole system from the beginning to be a web application, then PHP is the language of choice (Microsoft programmers will disagree, no doubt). That's the way I would do it. Why design 2 systems that you then have to worry about synchronizing, when it logically is all one system?
Re: decent gallery possible in php?
Posted: Mon Dec 21, 2009 9:15 am
by inghamn
Creating a photo album that is still usuable after thousands of photos has been my pet project for 10 years now. I originally started in Perl and javascript, before switching to PHP (version 3 way back when). PHP 5.3 makes it ridiculously easy to create your own custom web-based photo album.
The real challenge is working out what you want the system to do in order to make the photo organization easy and usable. The big step I think is getting away from trying to create a system of albums that you put photos into. With thousands of photos, you want to treat them as a sea of photos (with meta-data attached) that you can search and filter down to a set that you actually want to look at.
http://sourceforge.net/projects/photodatabase/
Re: decent gallery possible in php?
Posted: Mon Dec 21, 2009 10:09 am
by pickle
Picassa might be of interest - it's not a PHP app, but it does everything you need.
Re: decent gallery possible in php?
Posted: Mon Dec 21, 2009 2:18 pm
by rob1
inghamn wrote:Creating a photo album that is still usuable after thousands of photos has been my pet project for 10 years now. I originally started in Perl and javascript, before switching to PHP (version 3 way back when). PHP 5.3 makes it ridiculously easy to create your own custom web-based photo album.
The real challenge is working out what you want the system to do in order to make the photo organization easy and usable. The big step I think is getting away from trying to create a system of albums that you put photos into. With thousands of photos, you want to treat them as a sea of photos (with meta-data attached) that you can search and filter down to a set that you actually want to look at.
http://sourceforge.net/projects/photodatabase/
yes thats what i wanted to do, i wanted to upload/edit/index them which when processed would just simply get a PK ID and assocaited info and keywords etc offline its just getting stupid i cant find anything.....
Re: decent gallery possible in php?
Posted: Mon Dec 21, 2009 3:08 pm
by AbraCadaver