Page 1 of 2

Idea: Photo Gallery

PostPosted: Thu Dec 10, 2009 5:12 pm
by Loki
Pull random images (3000+ collected now) and randomly display them on the front page.

http://www.phpbb.com/community/viewtopi ... 0&t=682765

Example:
http://www.flying-bits.org/gallery/index.php
http://www.gnd-techlabs.com/forums/index.php
http://petsmania.net/index.php

Will have to play around with this and see how it works.

Re: Idea: Photo Gallery

PostPosted: Thu Dec 10, 2009 9:44 pm
by surfalki1
plus video room..,

i imagine that it is more complicated to have videos also

but I love videos with kiting

Re: Idea: Photo Gallery

PostPosted: Mon Dec 28, 2009 4:18 pm
by Loki
Video gallery:
http://www.phpbb.com/community/viewtopi ... &t=1786775

Example (this is a test site - no idea what version they have, but there's a bunch of errors):
http://forums.dfcowell.net/tube/index.php

Re: Idea: Photo Gallery

PostPosted: Tue Jan 12, 2010 10:57 pm
by Loki
I installed the photo gallery and broke the main board for about 15 minutes. After puzzling that one out, everything worked fine. Ultra huge big mondo downside? No way to import images into the gallery plugin. All those 3300 images we have can't be imported. Bah.

I might have to write this one myself. I can't seem to find anything that will actually import existing attachments, which is really really lame.

Re: Idea: Photo Gallery

PostPosted: Wed Jan 13, 2010 1:10 pm
by DanielStoner
Do you have an example of a photo gallery that you have in mind?

I feel like the need for a homepage is growing...

Re: Idea: Photo Gallery

PostPosted: Wed Jan 13, 2010 2:27 pm
by Loki
http://www.gnd-techlabs.com/forums/index.php has an example.
It's running this plugin:
http://www.phpbb.com/community/viewtopi ... &t=1825475

So I installed that plugin and tested it out. The thing is, the pictures in that gallery are completely separate from uploaded attachments to the board. So, for example, G10's recently posted pictures wouldn't show up in this new plugin. People would have to create a gallery album manually, which is lame. I think it'd be cool if the existing pics could be aggregated and then a link to the posting where they were snagged from is right next to them so you can see the photo in context in the thread if you wish. People could find an interesting thread from 2007, for example, and revisit the past. =)

The board's database has all the information we need. Picture name, poster, parent posting. Then all the EXIF Data in the picture can be extracted for date, camera, shutter speed, etc if necessary. However, that plugin currently cannot import existing uploads into its gallery. Nobody has something like that. But it's possible! Just use php to access the database and scrape everything together. It's a fair amount of effort, but I could totally get it working if I find the time and motivation.

Re: Idea: Photo Gallery

PostPosted: Wed Jan 13, 2010 2:48 pm
by DanielStoner
I see. I assume the same thing could be done with videos, too.

Well, maybe that's a goal for 2010. Maybe the LV trip will inspire you to write the code!

Re: Idea: Photo Gallery

PostPosted: Wed Jan 13, 2010 3:07 pm
by Loki
Videos ... I'd have to scan all the posts (all 30323 of them) for links to all the video sites. They're just text links in the posts right now. Yes, it's totally possible as well.

Re: Idea: Photo Gallery

PostPosted: Fri Jan 15, 2010 11:49 am
by Loki
Yet to do:
Pull in externally linked photos and videos. There are something like 500 youtube (not counting vimeo, etc) videos and 1500+ posts containing external photos (not counting 2nd, 3rd, 4th, etc picture in a posting). LOTS more to show!

Re: Idea: Photo Gallery

PostPosted: Fri Jan 15, 2010 3:36 pm
by Tuna
I like the new photo thing. Nice job!