Shampoo is a very simple photo gallery script that doesn't require a database.
The gallery is built using the existing directory structure, where thumbnails are created and stored by the script.
The HTML produced is minimalistic, semantic and template-based.
Unobtrusive JavaScript is used for progressive enhancement and can be removed entirely with no loss of functionality.
You can add captions and album descriptions using a very simple text file.
For a demo, visit my photo gallery.
» Download (54kB) Contents of the archive
Your server needs to run PHP 5+ and it must understand .htaccess files because mod_rewrite is used to make nice URIs. This is pretty standard and the vast majority of commercial web hosts will have no problem with this.
In order for thumbnail creation to work, your server will also need to have GD installed. Again, any host worth its salt will have GD installed.
Starting with version 0.5, the gallery can display FLV and MP4 videos (i.e. video formats supported by the Flash plugin). Flowplayer is the player used, and is included with Shampoo so you don't have to do anything.
This is for video files placed in the gallery, like images are – not for displaying YouTube or Vimeo videos. Of course if you've downloaded the YouTube video as an MP4 or FLV and you've put it in your album, then that will of course work.
Very little has been changed to add video support, which is what shampoovideo.php is for. In index.php two lines have been changed:
$shampoo = new ShampooVideo($fish[0]) instead of a new Shampoo objectrequire 'shampoovideo.php';functions.php has had some tiny changes added to the isValidImage and createThumb functions – nothing else.
The Thickbox files have been changed to support video too and obviously the Flowplayer files are needed, so the img and js folders need to be updated.
In order to generate thumbs for each video you put in an album, FFmpeg has to be installed on your server. It will make the thumb from the first frame of the video. If FFmpeg is not present, an alternative thumbnail will be generated (see image).
If you don't have FFmpeg, it's straightforward to install if you have shell access. I followed these instructions, which should work for any host.
You might need to change the path to FFmpeg specified at the top of shampoovideo.php to the correct path on your server (I can't help with this).
Download version 0.5 with video support (347 kB). Yeah, it's quite a bit bigger, mostly because of Flowplayer.
Please note this is in a sort of beta state, which is why I haven't changed the main download link to it.
For a demonstration of how Shampoo deals with videos, see this test installation with two videos.
BSD-style license. This means you can pretty much do whatever you want as long as you give due credit.
If you have trouble viewing individual albums or images, it is most likely a problem with mod_rewrite and your .htaccess file (in the base directory of Shampoo).
RewriteEngine on
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+/\d+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond $1 !^/?[^/]+/thumbs(/.*)?$
RewriteRule ^/?(.+)$ index.php?fish=$1 [L]
Options -Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+/\d+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond $1 !^/?[^/]+/thumbs(/.*)?$
RewriteRule ^/?(.+)$ index.php?fish=$1 [L]
Options -Indexes
RewriteEngine on
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+/\d+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond $1 !^/?[^/]+/thumbs(/.*)?$
RewriteRule ^/?(.+)$ index.php?fish=$1 [L]
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+/\d+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond $1 !^/?[^/]+/thumbs(/.*)?$
RewriteRule ^/?(.+)$ index.php?fish=$1 [PT]
mod_rewrite is the most likely issue, especially if you are using a subdomain or if you know you are using mod_alias. If your filesystem is very different to the URI structure, then it is also likely you will need to use a RewriteBase directive.
The single / is most commonly needed when RewriteBase is required, but some hosts (e.g. 1and1) might require the path too. For example, if your base directory is called "pictures":
RewriteBase /pictures
If your host supports PHP 4 and PHP 5, but it defaults to PHP4, you need to add this right at the top of your .htaccess:
AddType x-mapp-php5 .php
If any of these turn out they work out for you, I'd like to hear about it.
If the steps above didn't help, if you encounter bugs or if you have any other questions, email me:
r [at] this domain
I had some problems with mod_rewrite but using RewriteBase fixed it.
Its a very nice gallery, thanks!
#1 – 17 October, 2009 at 3:13 am
Is it possible to have categories and sub-albums? This would be very nice.
#2 – 31 October, 2009 at 12:00 pm
No, though I might implement this in the future if I feel the need.
#3 – 1 November, 2009 at 10:10 am
I'm just a n0ob building first PHP but this looks perfect for what I have in mind! Problem during setup for me(I'm using WAMP for dev) was fixed after enabling
allow url includein PHP settings.#4 – 12 November, 2009 at 9:58 pm
Interesting. You only need to enable
allow_url_includein php.ini if you're using full-length URIs in your include() functions. Are you sure you need to be using them?#5 – 14 November, 2009 at 11:24 am
Sub Galleries would be very nice. I have multiple folders for each client, each of which have sub-folders.
Thanks, Nice Script!
#6 – 15 November, 2009 at 9:25 pm
Just my opinion, but I'd prefer not have Sub Galleries and Categories (or be able disable them easily.) I chose to use Shampoo because I was looking for something really simple to host images for just 1 user: me.
BTW, I enabled
because I was using the url I specified in my hosts file to access gallery (i think ;-D)
#7 – 20 November, 2009 at 3:00 pm
I have started to look at a way to neatly add sub-gallery functionality, mostly because now I would like it myself.
In keeping with the current system, they would be "activated" only if the directory structure so dictates, with a potentially unlimited depth of subgalleries. Or perhaps the depth would need to be limited (to, say, 2 or 3).
The most important thing is not to lose the simplicity of the system, so it is not going to change particularly spectacularly.
#8 – 29 November, 2009 at 10:23 am
I want to limit the size of my pictures in album listing but I don't know how.
Can someone help to modify this setting?
#9 – 7 December, 2009 at 3:23 pm
Do you mean the thumbnails? They are the same size as the thumbnails when you open an album.
This is controlled by the
$thumbmaxwidthand$thumbmaxheightvariables in settings.php.If you mean the full-size images that appear in the lightbox in the album listing, then I'm afraid the size of full-size images is up to you to control.
In the future I'm going to add a module to allow better control of the settings, and to upload images via a form. This will make limiting the size of uploaded images possible.
#10 – 7 December, 2009 at 4:19 pm
I want to limit the width and height in album full listing.
For example in your albul your extif show 6.1 camera like mine, but your photos are 1200x900(mine are 3000x2000 something like this). So all I can do is to modify all the pictures manually?
#11 – 7 December, 2009 at 10:37 pm
Suggestion/How-to-do-this: Make the image itself a 'next' button link in full size view? (eg; in this page from the demo gallery, clicking the photo would advance to the next one, -like facebook galleries as I recall.)
Also, I'm not sure but I think I was having trouble with folders with bad characters in the names working with Shampoo. (eg; Danny's Surprise! Party) Fixed with a
somewhere?
@Johnny: I've settled on a 900px width for my gallery. I use Picasa for managing my pics, and there's a handy export function for resizing for web. You could also batch resize/optimize for web with Photoshop or FastStone Image Resizer (free) off the top of my head. Hope that helps.
#12 – 9 December, 2009 at 9:59 pm
@ Johnny: Yes, you will have to modify the pictures manually. If not, there would be two solutions:
- Resize the images on the server. This would preserve the quality of the image. However, I would have to know what size the user wants, and people have different requirements.
- Resize the image with CSS. Very easy, but the quality of the image is vastly reduced, and it means the user is downloading an unnecessarily large image.
The easiest thing is for you to do it yourself. This is pretty easy with something like IrfanView, which can batch-process them all in one go (e.g. make the longest side in all images 900px long).
@ Danny: Yes, I've thought about doing that too, like facebook. About the folders with characters like that - they shouldn't really be there, as they should really not be a part of the URL. If you want to have a ! in your album title, that should be defined in the index.txt file.
#13 – 3 January, 2010 at 8:03 am
hello!
Im trying to translate the script into swedish but at some places special swedish characters, such as Å, Ä, Ö, wont work. not even the 'html'-code for them work(å and so on).
any comment on this?
Also is it possible to make the script allow those characters in the images filenames? currently the image wont show at all with any characker like that present.
//thanks!
#14 – 12 January, 2010 at 6:19 am
Having issues with the mod_rewrite, I think. Getting the "This Virtual Directory does not allow contents to be listed" when opening folders. Individual images work fine. I don't see a mod_rewrite option in the php.ini file to enable. I'm running IIS 6 if that makes a difference. I tried all of the different options for the htaccess file but nothing is working. Any thoughts? I really like this script and want this to work ... good job!
#15 – 20 January, 2010 at 11:57 am
Regarding use of "foreign" characters
It was a simple solution, just calling utf8_encode on the string buffer before outputting it. I also fixed a couple of very minor mistakes (language-based). The zip file has been updated, but the only change was in functions.php, so you only need to copy that file.
Very important: The index.txt and the text files that contain the image captions must be saved as UTF-8 if you intend to use characters outside of ISO-8859-1.
MJ:
You don't need to enable mod_rewrite in php.ini, the .htaccess file should be enough. I'm not sure what the problem is because so far any mod_rewrite problems that affected folders would affect individual images too. You're sure the individual image page is showing properly, with the URI showing the path to the image?
I know nothing about IIS I'm afraid. mod_rewrite was written for Apache, so there could be some nasty incompatibility. I'd suggest doing some research into compatibility between mod_rewrite code and your version of IIS. I'm sure there's a forum for IIS where you could ask your question.
Please let me know if you find the answer, I'd very much like to know.
#16 – 21 January, 2010 at 4:18 am
Raphael:
Yep, the individual photos work but they are in the pop up, of course, or iframe? And I can click through all of them in that window. Only the "open album" gives me the error. I did start to look for IIS info about it so I'll let you know what I find. I'm glad to know I can stop looking at the php.ini file. Thanks!
#17 – 21 January, 2010 at 11:08 am
MJ:
Ah, of course, that popup is simply javascript-powered, so in that case your issue is almost certainly to do with mod_rewrite not kicking in.
I imagine there is some option that isn't working. I just wish it was simpler and there was some magic configuration that made it work on all servers.
#18 – 21 January, 2010 at 11:32 am
Thank you for this nice automatic gallery.
I try to call the 'lightbox' after i opened the album ('open album') - can you give me a hint?
And i want to show videos - is this possible?
#19 – 19 February, 2010 at 12:59 am
maybe you can update the thickbox? i don't know. i'm like the most out there, my camera does images and videos and i want to show them both.
#20 – 19 February, 2010 at 1:17 am
If you want to the lightbox to appear when you are viewing the thumbnails of a single album (after clicking "open album"), have a look in shampoo.js, line 24. Change this:
to this:
As for showing videos, the gallery is designed for images only really. Where do you want to show the videos - in the lightbox or in the "normal" gallery?
#21 – 19 February, 2010 at 11:47 am
thank you, i will try it soon.
for the videos, i want to show them in the lightbox. i think it would be a great improvement to your simple PHP photo gallery.
#22 – 19 February, 2010 at 12:35 pm
Thank you Rafael, showing the pictures in the thickbox while you are inside an album is working.
#23 – 19 February, 2010 at 10:30 pm
I've thought about this and it becomes very complex. I could use the HTML5 <video>, but it isn't cross-browser and doesn't support any common formats. Considering the many different formats available and how to play the videos (I'd have to embed a Flash video player), plus generating thumbnails for it, it becomes very complicated. For example, to generate thumbnails you'd need something like ffmpeg-php installed on the server.
It would no longer make the gallery very simple, which is the main point.
#24 – 20 February, 2010 at 8:33 am
i'm sorry to hear that, though i expected that. but listen to me: i believe, that your galleryscript is a rocker, simple and effective, i was doing a lot of research and i'm pretty sure, that your solution with updating and creating of different albums, thickbox and giving information to pictures and albums via txt is one of the best. but without the ability to show videos of my daughter, my wife and my house :) i cannot use it. even for my webdesign-clients who wants update their own gallery or create new one, this would be a gift. for me as one of your 'customers' showing videos is much more important then using a 'very simple' script instead of a 'simple' script.
some thoughts:
thumbnails? no need, a dummypicture will fit.
what about all the lightbox-scripts out there, they only need a link to the videofile for playing, no serverwork! maybe you have already seen http://planetozh.com/projects/lightbox-clones/?
thought about two versions? additionally a fullblown with videosupport for maybe 20$ and i.e. a styleswitcher, so you get a shampoo-community (themes, plugins)? or free and paying the price will remove an automated watermark from every photo?
i just believe you've met the point with shampoo.
sorry for my english..
#25 – 21 February, 2010 at 1:33 am
All those lightbox scripts assume the video is hosted elsewhere, like YouTube, Vimeo, etc. If the video is hosted by you, you need to use one of the plugins like WIndows Media or QuickTime, which frankly are on their way out. For example, I don't have them installed.
The solution would be to have a Flash video player (like Flowplayer), but your videos would have to be in FLV or MP4 format. Otherwise there would need to be some complex server-side conversion into FLV/MP4... which basically means the entire thing becomes like YouTube.
Hopefully you can recognise the complexity of what you want, unless you can limit it to only FLV/MP4 (i.e. you do the conversions from AVI, MPEG, whatever manually), or host the video elsewhere, like Vimeo or YouTube. Then it wouldn't be too difficult.
#26 – 22 February, 2010 at 11:35 am
ok let's do it! ;-)
converting any video to flv/mp4 is easy for everyone, i.e. i use formatfactory.
hosting your videos at youtube and co would be easier and maybe an additional solution for (more) users of your smart gallery script.
what do you think about it?
#27 – 22 February, 2010 at 2:31 pm
Rafael
Really like the new design of your homepage. glad to see action on your site after a while ;)
#28 – 28 February, 2010 at 2:05 pm
Do you plan to integrate showing videofiles/flv's in shampoo?
#29 – 2 March, 2010 at 6:28 am
Copied the files and tried the .htaccess changes, but I get an error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/uniguy/terrywysocki.com/pictures/functions.php on line 3
#30 – 8 March, 2010 at 8:49 pm
OOPS! Sorry about the double post. Even sorrier (is that a word?) because I fixed that! My ISP has a PHP level setting and I changed it from PHP4 to PHP5-FastCGI and that worked!
#31 – 8 March, 2010 at 9:10 pm
@ Gutenbyte:
I've thought about it and am willing to give it a go. But I'm extremely busy this week and the next, so it's going to have to wait.
Terry: glad you sorted it out, and hopefully it'll help others troubleshoot.
#32 – 9 March, 2010 at 12:56 pm
url is getting strange.
My jpg is in /srv/hengelsport.petchamp.nl/internet/
If I want to see the album, the album is search for on http://hengelsport.petchamp.nl/internet/internet/23092008054_jpg, notice the underscore befor jpg instead of a dot and the use of twice /internet/ in stead of one.
Nico
#33 – 9 March, 2010 at 1:59 pm
Rafael, glad to hear that and waiting for it. i guess this will make shampoo unique.
#34 – 9 March, 2010 at 10:44 pm
mine doesnt work
when i open a category it just says:
Index of ******
* Parent Directory
* Image name
* Image name
* Image name
* Image name
* Image name
etc
how fix?
#35 – 12 March, 2010 at 6:29 pm
Hi there,
Almost there, the only thing that still go wrong is the fact that my .txt file is also seen as a picture.
Not in the example-album but in the new album I made it does.
If someone can help, please.
Nico
#36 – 17 March, 2010 at 8:40 am
http://hengelsport.petchamp.nl/internet/
I don't see the text file there - what is the full URI to it please?
Also, the underscore is there with the images because if you include the dot, that is the path to the actual image, whereas with the underscore it's the path to a page that displays the image.
@Lamprecht: that indicates that mod_rewrite is not set up properly on your server, that it's not turned on, that it doesn't support it or that the mod_rewrite rules don't work on your server. If you can narrow it down a bit...
#37 – 17 March, 2010 at 2:04 pm
Hello there,
I saw your demo gallery and i like it very much. Is there a way to create a gallery using images thats hosted in flickr,pictbucket or elseware(basically i have the image url) without having the images in my server boz of space concerns.
Thanks
Robert
#38 – 18 March, 2010 at 2:08 am
Robert: No, that isn't possible the way this is set up. Space shouldn't be a concern nowadays with how cheap hosting is and how huge hard drives are... for example I've been with Dreamhost for 2 years now on their basic plan and I have 720GB disk space... I use less than 1% of that at the moment and pay less than $10 a month.
#39 – 20 March, 2010 at 11:59 am
@ Rafael
did you start working on the flv-version of shampoo?
#40 – 2 April, 2010 at 10:11 pm
Yeah, I'm using this gallery on a project that requires videos, so my interest in implementing this feature increased. :)
So far I have the thumbnails being generated by ffmpeg and the video embedded. I'm going away for a couple of days, but you can see the work in progress. Just go to the sub-directory "tester" under this one (I don't want to make a link) and click the image of the lump of metal.
#41 – 3 April, 2010 at 12:24 pm
I should be a bit more specific - the "lightbox" bit doesn't work yet, it only works if you open the album first at the moment. But it should be fairly quick to implement, as the major pain in the arse was getting ffmpeg to play ball (it took me almost an hour to figure out that it can't generate thumbnails with heights or widths that are odd numbers).
#42 – 3 April, 2010 at 12:34 pm
@Rafael
glad to hear and see. waiting for it :-) thank you so far..
#43 – 3 April, 2010 at 9:47 pm
Hi!!
Nice coding...!! I just have one trouble..... How do i make this work on windows server ??? hehe I tried to change .htaccess to .htaccess.txt but still do not work please help me! hehe
THANKS!!!!
#44 – 6 April, 2010 at 8:36 pm
Sorry, I have no idea about Windows Server. You'll have to ask about using .htaccess on a forum where they know more about this sort of stuff, like Sitepoint
#45 – 10 April, 2010 at 10:34 am
Rafael, any news for the videofans? waiting...
#46 – 14 April, 2010 at 6:17 am
Video support has been added. See the documentation above. Let me know of any issues.
#47 – 15 April, 2010 at 10:58 am
Rafael
Thank you! How can i donate you?
As i can see it works on every major browser. my 'tester': gutenbyte.de/shampoovideo/.
I would like to share my css. want to open up a paragraph for that?
#48 – 21 April, 2010 at 11:02 pm
Glad you got it going. That's a good idea, I'll put up a demo version where the CSS can be changed so it's easy to see what it'll look like.
And if you want to donate, I use Paypal with the address above. :)
#49 – 23 April, 2010 at 3:40 pm
I have problem when I try to put this file on my hosting, shampoo do not view properly, is like it missing the css file, the picture also do not show. I still new with this kind of thing, I hope you can help me. Sorry for my english. thanks
#50 – 29 April, 2010 at 8:21 am
Greetings,
Well i was about to show off my first gallery but after install this is what i got when calling index.php:
"Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /kunden/cdu-landstuhl.de/webseiten/_vorschauXYX/galerie/functions.php on line 3"
Hmmm any idea ?
Thanks for any help.
#51 – 20 May, 2010 at 4:10 am
Shafwan:
This is probably a problem with the .htaccess file. You must make sure your server supports it. Also look at the information above.
Swen:
You are probably not using PHP5. Check that your server is not running an older version.
#52 – 20 May, 2010 at 6:05 am
Thanks for your fast help!
It was indeed a PHP 4 Version running. I had already fixed that with the htaccess thingy but it seems my provider switches PHP Versions through the control panel only. After upgrade to 5 the error dissapeard.
Now the only Problem i have is when i click on a album, i get a error that the url couldnt be found. I figured this is htaccess related so i went through all of the alternatives, but none seem to work.
This is the gallery
http://www.cdu-landstuhl.de/_vorschauXYX/galerie/
and when you klick on norm you see the error.
Im currently using Alternative 4 but the behavior is the same with all of them. htaccess support is enabled.
#53 – 20 May, 2010 at 1:12 pm
I agree, it seems like a .htaccess issue. The rewriting is not working properly it seems, because the "URL not found" is
/kunden/cdu-landstuhl.de/webseiten/_vorschauXYX/galerie/index.php, which is not the same as the URL given. Can you perhaps ask your host for help? Maybe they have some documentation available for working with .htaccess on your server.#54 – 20 May, 2010 at 3:38 pm
Thanks Rafael!
After a little playing around i figured it out. The Rewrite Base thingy made it work.
Heres my final solution:
RewriteEngine on
RewriteBase /_vorschauXYX/galerie
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^/?[^/]+/\d+$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond $1 !^/?[^/]+/thumbs(/.*)?$
RewriteRule ^/?(.+)$ index.php?fish=$1 [PT]
#55 – 20 May, 2010 at 3:59 pm
Hi guys,
Shampoo is a good piece of software. Easy to install, easy to use.
Are there any websites about that have pre-made styles or themes for Shampoo?
#56 – 30 May, 2010 at 12:54 am
good idea, catfish.
i tried searching for the linktext on the bottom: "Shampoo 0.5" and "Shampoo 0.4".
maybe Rafael will set up a version as he says in comment 49
and here's a link to the css i'm working on:
gutenbyte.de/shampoovideo/shampoo.css
would be nice to see some other css! :-)
#57 – 1 June, 2010 at 12:56 am
Great gallery!
I had a problem of the album not showing and it turned out to be that my PHP did not have the 'exif' extension enabled. Fixing this in PHP.ini sorted the problem.
#58 – 2 July, 2010 at 10:56 am
I am unable to make the file index.txt appear. I am wondering if there is a .css call for it's color - maybe I am using the same color as the back ground.
Here is sample of my index.text file.
Actors|Alex O'Loughlin|Born Aug. 25,1975 Canberra Australia
Actors|Toby Stephens|birthdate here
This is two lines. The first line wrapped in this input box.
#59 – 11 July, 2010 at 3:59 am
Genie:
You're not using the right format. It should be:
albumname|Album Title|captionwhere albumname is the actual name of the directory. In your case, it seems Alex O'Loughlin is the name of the directory too. I've noticed a small bug: on your website that album doesn't open because of the apostrophe in the folder name. Therefore I suggest you rename it to alexoloughlin and then do this in index.txt:
alexoloughlin|Alex O'Loughlin|Birthdate hereThis is better anyway, as URLs are not supposed to contain spaces.
#60 – 11 July, 2010 at 4:24 am
Thank you for your help.
The Directory Structure is like this.
Website
-Actors
- - Alex O
- - Alexander Beyer
- - (many many more
-index.txt and all of the shampoo files are under the Actors (parent) directory
So, I am thinking the album name is Actors
Actors|AlexOLouglin|description
I don't know how you found the link. You're a wizard, but here it is. It is not live, yet, so there is no link that points to it.
http://justperioddrama.com/Actors/index.php
I will,however, go in and change in the Alex O'Loughlin dir name.
Thank you for the help. This is exactly what I've been looking for.
Genie
#61 – 11 July, 2010 at 7:43 am
No, the album is not "Actors". That is simply the name of the directory you have put the gallery in. The "albums" are the directories within "Actors". So, you have a directory called AlexOLoughlin. That is an album. The other directories are also albums. I would change all of them to have no spaces. Then you can make the titles more legible in index.txt, and add descriptions:
AlexOLoughlin|Alex O'Loughlin|description
AlexanderBeyer|Alexander Beyer|description
The first bit identifies the directory. The second will be the title of that album. The third is the description.
And I found your website in my referral logs.
#62 – 11 July, 2010 at 8:07 am
Success!!! Thank you.
#63 – 11 July, 2010 at 1:25 pm
This is neat! I really like the simplicity of it. I will try to port it with my sNews CMS and I will share results with you. Like it has been mentioned earlier, I would really benefit from having either categories or sub-albums.
Keep it up! and thank you.
r
#64 – 24 July, 2010 at 1:40 pm