DONT RUN. ITS REALLY NOT THAT MUCH. PLEASE READ. my site: PartyPrinceProductions.com ... I offer event photo and video services, and post Some of the events pics up there. No video as of yet.... It is all static html. I am looking to help me save time and automate some things. Studying PHP now.... I am looking for some ideas on the best way to go about this: I want to have my pages generated automatically, for the event albums. Someone told me about MOD_REQRITE for changing .com/pics.php?=05-28-2012 to something like .com/pics/05-28-2012, or .com/pics/05-28-2012.php .... Thats cool and needed. Will review the documentation on MOD_REWRITE later... Plase take a breif look at my site to see how it is setup. But basically, the .com/photos.html page has large thumbnails. One of, and from the events I have shot and posted. and then it takes you to the event page; which has thumbnails of every pic posted. Then when clicked on, it opens a popup... This is cheesy, and my current process for uploading the pics is: (upload to the pc, then get rid of the no-goods) 1. Use Adobe Bridge to rename each pic 001.jpg, 002.jpg, etc... One folder for vertical, another folder for the horizontal 2. Using a batch process i create in Photoshop, I: A. Create those thumbnails that are on each event page of every pic. B. Resize and Watermark each pic for the web. 3. Using Photoshop, I create the very first thumbnail for the event, that goes on .com/photos.html. 4. Use Komodo IDE to replace the dates in the files of the templates I made for the new event pages. Basically, they are ideantical for every event page, but the numbers that correspond with the file folders change: <table style=""> <tr> <td><a href="/images/events/02-18-2012/b001.jpg" target="_blank"><img src="/images/events/02-18-2012/001.jpg" style="width:175px;height:264px;"></a></td> <td><a href="/images/events/02-18-2012/b002.jpg" target="_blank"><img src="/images/events/02-18-2012/002.jpg" style="width:175px;height:264px;"></a></td> <td><a href="/images/events/02-18-2012/b003.jpg" target="_blank"><img src="/images/events/02-18-2012/003.jpg" style="width:175px;height:264px;"></a></td> <td><a href="/images/events/02-18-2012/b004.jpg" target="_blank"><img src="/images/events/02-18-2012/004.jpg" style="width:175px;height:264px;"></a></td> <td><a href="/images/events/02-18-2012/b005.jpg" target="_blank"><img src="/images/events/02-18-2012/005.jpg" style="width:175px;height:264px;"></a></td> </tr> Code (markup): So thats how a piece of the template looks. And I use Komodo IDE to highlight all "02-18-2012" and replace with the new event. For ex. 05-26-2012... Then also, those dimensions are for the vertical, so I have it setup where the horizontal photos go last, so I will then have to go in, and adjust the table rows to only allow 4 images, 4 td, because the horizontals are wide ofcourse. And THEN, I have to manually change the navigation numbers at the bottom, adding or deleting accordingly, depending on how many pages I will be using. Starts with 25 images per page for the vertical photos... 5. I use FileZilla to create the folders and then upload all the html files and all the jpgs. 6. Manually go into the html on the .com/photos.html page to add a new line to show the large thumbnail of the event and have it link to the event page... .................................................................................................................................................................................................................................... I am studying, but I would like someone to give me a boost or a push in the right direction. P.S. I sometimes hire people to take my place, in which the content will still go on my site. So I would like to find a solution where I can have them upload it and have everything generated, without them having any type of html/php knowledge... SOOOO. I would like: to be able to go on a page for ex.. partyprinceproductions.com/uploader.php and be able to put in some parameters and be able to upload ALL of the pics at once, and somehow have that be it. I would like my thumbnail to be created on the .com/photos.html(or .php) page, then the thumbnail/links be created on the actual event page, to all the pics from that event. And have it open in a popup(may use JQuery down the road). And also, I need everything to work well with SEO. So my pages to look like .com/photos/05-26-2012.html (if possible, or something near), and have the Meta content generated aswell- maybe by those parameters I mentioned earlier, on the uploader page. I would also like to have my photos watermarked when uploaded(typically a group of 100-160pics). And the navigation on the bottom, to show how many pages, and flip to the next pages.... I think thats it for now. I know this is alot, but ANY AND ALL HELP WILL BE APPRECIATED. I would like, but am not looking for a thousand lines of code pasted. Although that would make my life easy, I would just highly appreciate the logic and the functions... So tell me what functions I should be using, what services, what scripts.... ANYTHING! I am thinking of some kind of loop to go through a folder, which has folders for every event. So maybe the loop will look at those folders, read the titles(05-26-2012) and display it on the page, and then the next page will loop through all the pics and display them.. I dont know. HELP.
OK, that's a very detailed thread... Here's what have I done for my online artist community (link @ my signature) : - a registered user goes to his/her profile page where an upload form is located - the user is prompted for : image title, tags (keywords), image description and file location (.jpg, .jpeg, .gif, .png are the allowed formats) - a PHP script then validates the submitted data and saves the image in /users/uploads/images/ folder, a thumbnail image to /users/uploads/images/thumbnails/ folder, the submitted details (i.e. title, tags....) are stored in a database table with a unique ID number for every uploaded image - with a .htaccess file in the web root directory then you can set a rule, something like RewriteCond %{REQUEST_URI} images RewriteRule ^([a-zA-Z_]+)/([a-zA-Z_0-9]+)$ index.php?page=$1&image_id=$2 [L] Code (markup): At images.php you have to require/include the file which is rendering the images. That file (i.e. images.php) gets the image_id variable and retrieves the corresponding image from the DB table. The URL should be something like .com/images/455 You can make it even more SEO friendly by retrieving the image's TITLE instead of the ID (.com/images/seaside-sunset), but you'll have to do more validation to prevent unwanted title tags... Hope this will you give some ideas how/where to start with your URLs...