Yes, sorry, there is a demo...it is my site:
http://forums.jjr512.com/main_photogallery.php?s=
I put it in the instructions, but forgot to mention it here.
James Cridland, that didn't really occur to me at the time, I guess mainly because this hack was a conversion of my older pure HTML photo gallery, which of course was just a bunch of <img> tags. But there is actually a good reason why I, personally, wouldn't want the hack to be like that: Sometimes, a member will provide a new photo. Whereas their old photo was named member.jpg, I would name their new photo member2.jpg. The reason for this is the members of my board form a pretty tight community, and I don't mind hosting more than one photo for someone or using my resources...if they want to show their photos stored on my site somewhere else, I don't mind, because it hasn't been a problem yet. So I keep their original photo with the original name to preserve any offsite links, basically.
With your version, the database would still be involved, of course, just to find the other details that I include, like your title, registration date, etc. Of course, you don't
have to include all that stuff. But it's not very much data that gets added to the database, just a user id and two URLs.
Gamingforce, if all you need is the userid # to show up or be used on the full photo page, use
$photoid.