Domain: gallery2.org
Stories and comments across the archive that link to gallery2.org.
Comments · 7
-
Try it out with your own Gallery2
I helped build a module for Gallery2 that will display your photos or albums in a map. Some good folks have been adding features and maintaining it since then. Check out my photo map if you're interested; you can tell at a glance that it's pretty similar to what TFA describes.
The onus is still on you to make sure that either you tag your content with the right coordinates or that your camera or other software gets it into the EXIF block, but beyond that, it's all pretty automagic.
-
Been done
Gallery2 has a module to do this already: http://codex.gallery2.org/Gallery2:Modules:Map
-
Re:Argh.
Deploying PHP sites on servers that use a Turkish locale yields blank pages. The workaround is to never use that particular locale. Easy, isn't it?
Yeah, we couldn't understand that issue either. While our project has been translated into Turkish, it will never work on PHP 5.x with that locale. From http://codex.gallery2.org/index.php/Gallery2:Known _Issues:Turkish locale with PHP 5.x - PHP 5.x has a bug that will not be fixed that prevents G2 from working in Turkish. Workaround: use PHP 4.x
I'd have hoped for a better explanation, e.g. that it requires tons of changes. Anyway, the PHP team said they'd address this in PHP 6. -
Photo Gallery with maps
If you have photos with GPS coordinates (e.g. in the EXIF data), you can use Gallery + its map module to easily generate a photo album with maps.
An example: http://gallery.ibao.net/ (click on the map on the left)
References:
http://gallery.menalto.com/
http://codex.gallery2.org/index.php/Gallery2:Modul es:Map
http://codex.gallery2.org/index.php/Gallery2:Modul es:Map:UserGuide -
Photo Gallery with maps
If you have photos with GPS coordinates (e.g. in the EXIF data), you can use Gallery + its map module to easily generate a photo album with maps.
An example: http://gallery.ibao.net/ (click on the map on the left)
References:
http://gallery.menalto.com/
http://codex.gallery2.org/index.php/Gallery2:Modul es:Map
http://codex.gallery2.org/index.php/Gallery2:Modul es:Map:UserGuide -
When in doubt, copy someone else's
Depending on the language you are using, find a large open source project that documents their coding standards and base it off of that. Gallery's Coding standards, http://codex.gallery2.org/index.php/Gallery2:Codi
n g_Standards comes to mind. It's VERY detailed and gives explanations on some things. Even if you don't go by all their rules, or none of them, that page at least gives you an idea on how to structure a document on coding standards, which is more important than the actual coding standards themselves. If you can take whatever you do now, document it, then any new hires you can just give them that document so they understand everything. And yes, comments are really importantant, especially in more complicated sections, and at the end put your name so you know who to ask if you have questions on that section, and of course update the byline if someone else touches it. It's one thing our company can improve on. Even me, If I do something really complicated I usually end my comments with "sorry" :) -
Re:Big deal.
It is true that Gallery 1 doesn't scale well, but this isn't so with G2. It has been designed with scalability in mind, so it should theoretically scale to millions of images. The largest I've seen myself is used by an image hosting company, and there are a little less than a million pictures in it, and it still works beautifully. You can read an in-depth comparison of Gallery 1 and 2 on this page.