Gallery 2.0 Released
uss_valiant writes "From the Gallery website: "We are incredibly pleased to announce the release of Gallery 2.0! Over three years of design and development have gone into creating the best online photo management product possible. Gallery 2.0 is the natural successor to Gallery 1, and we hope that you like what you see. Don't wait, download Gallery 2 now!" From a developers point of view, the Gallery 2 framework is particularly interesting because it's written with modern programming patterns (OOP, extreme programming, test driven development, MVC, factories, modularity, ...) in mind which is rather unusual for PHP based projects. Over 1500 unit tests ensure correct functionality and its architecture is really impressive."
http://en.wikipedia.org/wiki/Gallery_Project
The Gallery Project is an open source PHP project enabling simple management and publication of photographs and other digital media through a PHP-enabled Apache or IIS web server. Photo management includes automatic thumbnails, resizing, rotation, and flipping, among other things. Albums can be organized hierarchically and individually controlled by administrators or privileged users.
RC1 was codenamed +5 Insightful, how nice :)
h0bbel
For some of us, this is like the release of phpBB 3. We've been needing the features this release has for months and even years and we're excited that it is finally ready for production.
So whatever, man....
I have been using the Beta of 2 for Gallery for a while. I love it. It is great if you want to share photos with friends after a fun night partying. Also allows your friends to upload pictures if they are so inclined.
Anyone have an alternate link or a server thats running it since the site is borked?
I have been using JAlbum for my photo album projects for quite some time now. I like it pretty well and there are a lot of templates out there for it. I'm not crazy about it though. I checked earlier versions of Gallery a while back but I didn't care for the look of the UI and the webpages it created. Anybody try this new version of Gallery yet? Any other free web albums you guys would recommend?
Bang Logic - Serious Small Business Services
A paid press release for free software? What the hell would they have to gain from that?
I have often remarked that a "Writing Maintainable Enterprise Class Systems in PHP" book would be the best thing since sliced bread for the PHP community. There is nothing so wrong with the language and the environment (although some have likened it to training wheels without the bycicle) that can't be remedied with discipline, communication, and the use of mindful quality software development discipline.
PHP has been a wonderful language in which to "put together quick solutions which grow into large projects" for me in fields from accounting to my current work in Industrial / Manufacturing! The interfaces you can write to control PLCs and generate plant floor intelligence using *good* PHP and a web server are light years beyond what is usually available on a shop floor with PanelViews and Vorne displays (Light bars...) Someone out there would be smart to write a PHP-for-software-engineering book.
Wikipedia explains what Extreme Programming is at:
http://en.wikipedia.org/wiki/Extreme_Programming
Of course, it were a Microsoft product, the natural successor would be 'Gallery Super Uber Ultimate Edition'.
The sooner you fall behind, the more time you have to catch up.
here is the google cache link :a llery.menalto.com/+&hl=en
http://66.102.7.104/search?q=cache:EYRwD7JSrCoJ:g
Lord of the Binges.
Get a clue nitwit. Upload the binaries to a location under your account that apache can access and chmod them to 755. Then tell Gallery where they are at.
This is not offtopic at all. I'm sitting here trying to get to the site, it's /.'ed and though I was able to get it to load without the images, all it talked about was the different versions and its development.
Doing a quick google search for gallery 1.0 or 2.0 leads to nothing immediately informative.
So, what the fuck is gallery!?
Hey, has anyone tried out the Debian gallery2 package? Does it do a good job of migrating the data, or does it install stand-beside? I have a gallery 1 installation that my whole family uses, and I'd like to know if it's safe to upgrade, or if I should wait for the bugs to be worked out.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
Oooh. Buzzword compliance is the first thing I look for in photo management software.
Yeah -- but it uses OOP! *cutting edge technology* It sound awesome... orienting objects and whatnot.
But my favorite part is the bit about "test driven development." Of course it's test-driven... that's how programming generally works.
And Zonk... please tell me what the program is before telling me to "Clickey here! Download Now!". I'm not really looking for online photo management software at the moment, thank you.
Slashdot Effect [ FAILED ]
Try the second sentence of the article summary?
Tedious Bloggy Stuff - hooray?
Gallery2 is free software developed with the "release early, release often" philosophy, so of course it's been available for some time. But it's also been a moving target in terms of filesystem layout and API. Emerging from beta is NOT a small deal. It means that developers of add-ons can proceed with some confidence that the entire system won't turn to smoke with the next dot release.
I've been using it in a high-volume production environment since April Fool's Day. We plan on dumping it next week and moving to our own code. It's a very nice system (and a tremendous leap forward from Gallery 1), but it's wedded to a folder organizational metaphor, and we need a richer taxonomy to support potentially tens of thousands of users.
Dammit, stop teasing me with the release of phpBB3...
Please, for the good of Humanity, vote Obama.
I think it's be good for intermediate PHP developers to know that Gallery2 is ... whatcha call it .. "real software"
My turnips listen for the soft cry of your love
Anyone have a cache or alternate download page?
No no no - the _other_ foot. You were supposed to get up on the _other_ foot.
I've just finished creating the worlds first working fusion reactor, but hey, whats the fuzz - others have thought of it before me.
I've been using G2 since beta 2. There were 4 beta's and an RC, iirc. I've never seen anything like spam redirections, but then, I wasn't accessing it from Windows... =P G2 is great.
Since the gallery.menalto-site seems to be slashdotted already here's a working download link at least, directly from sourceforge.net: gallery 2.0 file list
For those interested. Gallery is the next big one in line to move its site to drupal
Hmmm gallery, what COULD it be.
But my favorite part is the bit about "test driven development." Of course it's test-driven... that's how programming generally works.
Test driven development means the unit test is written at the same time as the feature is written, or sometimes even before the feature is written.
PowerLevel.com - A next generation marketplace for virtual items and services
unit tests don't just show that your program works, they show that your program STILL works (make great regression tests)
Inconceivable!
Yes, Gallery 1 is still supported and under further development.
h0bbel
- Upload a huge honking zip file of compressed images and create an album
- Integrated "Publish to Your-Special-Gallery" from WindowsXP "My Pictures" folder
- Easy to customize permissions
This (along with gnump3d) are my two FAVORITE web apps for linux.So you think an app that maintains a photo gallery is something that hasn't been done a few times? Possibly on every known platform, in every known language, for every known format, both offline and online?
But I see how one might confuse it with a technological breakthrough on the order of a new energy source.
Don't think of it as a flame---it's more like an argument that does 3d6 fire damage
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.
Try out Gallery Local, a smart client for gallery.
It allows viewing of your gallery offline. It takes advantage of the new XML-RPC routines available in Gallery 2.
Precisely. This is very helpful. Everyone should do it. But they should do it knowing what they represent. (It should go without saying that you need to write good tests, and if you forget to test something, you're not covered.)
Don't think of it as a flame---it's more like an argument that does 3d6 fire damage
Stop Slashdotting the server so I can download something! : )
Just me
If anyone cares here is my gallery: http://pics.jeremylevy.com/
Wikipedia explains what Karma Whoring is at:
http://en.wikipedia.org/wiki/Karma_whoring
I run Gallery 1.x on my site. Since the gallery site is currently slashdotted, does anyone know if its easy to upgrade from 1.x to 2.x or should I just stick with 1.x (which seems to suit my needs just fine as it is)
In case it makes a difference: My gallery is on a hosting providers server, not my own. I have SSH access though.
[an error occurred while processing this directive]
From the code I saw, everything is extremely over-engineered (read: too freaking complicated). It looks like they have some input sanitization functions but they aren't used consistently.
The coding style throughout isn't consistent (but who cares?).
On the plus side, they have used PHPDOC or some similar syntax to document their classes and functions (makes for good API docs). They have used external libraries for some things like templating and database abstraction (can't say much for their choices but at least they didn't rewrite those from scratch).
The error handling also looks particularly nightmarish:(repeated 12 times in one 100 line file!!!!)
One of the problems with Gallery 1 was that it would not run with PHP's safe mode, which is often used in shared web hosting. Does Gallery 2 also have this restriction? (The site's still slashdotted.) There are other PHP-based photo gallery solutions that do not have this restriction, such as Coppermine http://coppermine-gallery.net/index.php.
Extreme programming is iterative and agile. There is nothing about speed. In fact, many of the XP and UP texts i've read advocate DAYS spent in design meetings. Unless every software project is released by large mega-corps, developers just don't have that kind of time.
It's quite likely that following the UP exactly may slow down development significantly.
If bad puns were like deli meat, this would be the wurst
To easily include gallery pictures in your blogs, check out the wpg2 plugin.
What....does..... it..... do......
online photo management, sorry, i'm not in the field.
JAlbum was the first I tried, but it was not practical for adding pictures to albums and comments to pictures, so I switched to Gallery. It works for me since I have my own server on a DSL line. Mambo is already slow on it (P166MMX), so I suspect Gallery 2 will be the same since it also uses MySQL.
I used the zend studio IDE years ago and it was sharp at the time but I don't think it's cheap to purchase now.
I was hoping to see more from PHPEclipse. Quite honestly, the plugin was a dissapointing to me. I don't see any reason to tie it to the XAMPP packages and it loses so much of the awesome functionality of Eclipse that I quickly resorted back to Macromedia homesite for a glorified text editor.
The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
Camera Life is so much better: http://fdcl.sf.net
-- I was raised on the command line, bitch
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/www/website/drupal.gallery2.org/index.php:39) in /usr/www/website/drupal.gallery2.org/includes/sess ion.inc on line 10
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/www/website/drupal.gallery2.org/index.php:39) in /usr/www/website/drupal.gallery2.org/includes/sess ion.inc on line 10
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/website/drupal.gallery2.org/index.php:39) in /usr/www/website/drupal.gallery2.org/includes/boot strap.inc on line 448
Plus half a page of unreadable junk which I won't even try to get past the lameness filter.
I think I'll wait for Gallery 3.x
> We are incredibly pleased to announce the release of Gallery 2.0!
Incredibly, as in we cannot possibly believe how someone can be so pleased about releasing this shitty product? Enough with the meaningless overstatements already -- it makes your language weaker, not stronger.
.menalto.com/" /
Seems their site's working just fine.
i've been using the Gallery platforms for more than a year and maintain a few hundred g1/g2 sites for friends, family and customers. tired of being bombarded with invasive advertising on commercial portals? get a paid hosting account and use Gallery 2 to share the moments of life with friends & family! you won't regret it, at least i didn't =) props to Bharat and his crew!
Or don't slash dot the web server, and try slashdot the CVS server!
$ cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/gallery login
$ cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/gallery co gallery2
Or for those with it already installed,
$ cd gallery2
$ cvs update -Pd
Ran the update the other night, having just installed it a week ago, and to my suprise I was blessed with v2.0 (possibly one of the first to get it because they were yet to advertise the release on their site)
----- Concentrate on promoting more than demoting.
I just upgraded to Gallery v. 2.0, but now I can't use Gallery Remote to upload photos. I keep getting the following error message:
Server contacted, but Gallery not found at this URL ( http://www.mysite.com/gallery2/main.php )
Any pointers? Has anyone else experienced this? Does Gallery Remote work at all with g2?
It's their first stable release as advertised on their website. It's been in beta for quite some time.
This is also the release of the new website running on drupal as a CMS instead of, um, I think phpnuke or something. Should be a nice clean start from the previously confusing and disorganized setup.
J
Don't wait, download Gallery 2 now!
:)
Couldn't you have waited till I got my copy first?
I can't access the site or I would RTFA, but I'm going to have to agree... PHP is really easy. I've coded things that are probably bigger and more complex than this by myself. Obviously they weren't perfect, but according to other commenters, neither is this... it would seem that the security might not be very good, and that the error handling is particularly bad.
Gallery 2.0 is the natural successor to Gallery 1...
I disagree. I was going to try one of the Beta or Alpha releases of 2.0 a while back, but as soon as I read that it required MySQL, I turned tail and ran.
One of the beautiful things about Gallyer 1.x is that it didn't require a relational database, which IMHO is massive overkill for such a simple application from a data perspective.
Don't become a regular here, you will become retarded. -- Yoda the Retard
they'll make it up on volume
Do you even lift?
These aren't the 'roids you're looking for.
The code name for the project would be Minneapolis and the final product would be called Opportunity.
Get your Unix fortune now!
This is news for NERDS, stuff that MATTERS. The code license and development approach are far more important than the results.
Maybe im getting to old, but I think that You have to be more than a nerd to read a site that is shown like this: (I'm using Firefox to browse http://gallery.menalto.com/)
.ricp-search-form input.form-submit {marginF noo o0 1em;} .ricp-search-more-link { fnte-weight: bold; fnte-tyle :italic;} .ricp-search-excerpt {fnte-weight: bold;} //tyle >
@import "misc/drupaTxxhtmla//tyle >
Lars Bo Wassini
Ok, I haven't looked through Gallery's code, but I've done some PHP coding myself, and once I discovered this technique, I used it on everything. It's so simple, and works so well. Just include it and forget it, and do a user_error() when you need to.
// If it's an E_NOTICE error, don't do anything
// Gather data
// Construct error message .= $date."\n".$remoteHost."\n"; .= $url."\n"; .= $scriptFilename."\nLine ".$lineNumber."\n"; .= $errorCode.': '.$errorDescription."\n";
// Write error to log
// Print an error message, (send an email too if you want, just add mail()), then exit/ a> if this problem persists.</div>';
// Set error handler to my handler
<?
error_reporting(E_WARNING | E_ERROR | E_PARSE | E_NOTICE);
function errorHandler ($errorCode, $errorDescription, $scriptFilename, $lineNumber, $context)
{
if ($errorCode == 8) return;
$date = date('Y/m/d H:i:s');
$remoteHost = $_SERVER['REMOTE_ADDR'];
$url = $_SERVER['REQUEST_URI'];
$error = "\n";
$error
$error
$error
$error
if (getcwd()) $prevWorkingDir = getcwd();
chdir(dirname(__FILE__));
$fp = fopen('script_error_log.txt', 'a');
fputs($fp, $error, strlen($error));
fclose($fp);
if ($prevWorkingDir) chdir($prevWorkingDir);
echo '<div class="errorMessage">An error has occurred and has been logged. Please contact <a href="mailto:webmaster@h...com">webmaster@...com<
if (!mail('webmaster@...com', 'Script Error Logged', "An error has occured in the scripts. Here is the error that was logged:\n\n".$error)) {
echo "Error e-mail not sent. Please contact the webmaster.";
}
exit;
}
set_error_handler('errorHandler');
// Put everything above this line into your standard include
if (!do_something()) user_error("Something didn't work. This will log the error, mail it, print a friendly message, and stop.");
?>
"Those who consume the bulk of goods are those who make them. We must never forget this secret of our prosperity."
What is the PHP programmer's (read phpBB and other forums, this too) obsession with version numbering:
Gallery 1.5.1-RC3
Gallery 1.5-pl1
And I bet RC2 and RC1 had 2 a few tags changed and $global_title renamed to $title_global or something?! This is an app written in a scripting language not an operating system, get your head out of your asses jeez
Nothing costs nothing
i usually try to rotate all my pictures with jhead before writing them on cds - but in some of the older cds they were written as-is. now i would like to pump all the images in gallery, bet v2 does not support autorotation based on exif header information.
:) ) - but i can't.
/. who knows php and could add autorotate support to exif module of gallery - that would be really nice.
g1 supported it.
well, i could copy all images on hdd & run jhead on them (crappy solution), or install g1, add pictures, then try migrating - also crappy solution.
if i could write good code, i could try adding this feature (doesn't seem extremly complicated
so, if there is anybody in
gallery developers are very friendly and will introduce you to necessary details if you are interested & capable.
Rich
Hehe, but it is, it is I tell ya.
While I agree with you that Gallery 2 is hardly groundbreaking, I find your bashing a bit harsh. Some people, maybe you're one of them, have a tendency to always try to find whatever is wrong with everything. To the extent that it seems like Gallery has hurt you in the past or something.
The asshole redirected pics.jeremylevy.com to quarterlifeliving.com! Google confirms that gallery used to be run at that URL, but that site will not do any good to the /. community now.
SWM seeks new sig for a brief fling
are there people these days that run a webserver without a database? I surely ran a database together with my webserver from day one... so it doesn't really give much overhead. and database queries do have there merits.
Awhile back I created my own 'gallery' program (before I'd even heard of Gallery). Its premise is that it's only one file, and everything is 100% automatic. All you need is PHP and Imagemagick on the server. Then you set the directories to be indexed writable by the webserver user (for thumbnail creation). Voila! It takes care of the rest. You can check out the sourceforge page at:
http://image-indexer.sourceforge.net/
also, my site using it is http://haven.loki.ws/digcamera
It's not quite as feature rich perhaps as Gallery, but it works very fast and does the job exceedingly well.
Wouldn't it be cool if you could manage your Gallery using iphoto? You could make a local iphoto album as normal, and then publish it to Gallery. The publisher could take care of uploading and synchronizing everything. If you changed something on the Gallery side, you could then synchronize it back into iphoto.
I can only wish...
I didn't look at the code, so I just assume just assumer g2 is over-engineered from what you wrote.
I find it funny that g2 is over-engineered because it is specified in the article that XProgramming was used to develope it. And one of the advantage that makes XProgramming so great is that it should prevent you from over-engineering your stuff.
perception is reality
Note that their web site is running Drupal, as Gallery is a photo gallery, not a CMS. They didn't write the code their site is running on.
I like my women like my coffee... pale and bitter.
not only that, but that's the way any PHP script would handle session/cookie setting after an error. If content's already been output to the browser (error messages, duh) there's no place to send headers.
the only way you can handle this is by catching exceptions. and yes, that'd be drupal's concern, not Gallery's.
When you start a web site about a new project , please include a blurb somewhere that says WTF the thing is. And if you forget (as you usually do), please add it when you issue a breathless announcement, so people reading the announcement know WTF you're talking about. And if you forget (as you usually do), hope that the Slashdot editors will think to add it, so the poor readers will know WTF the project is that it's rates front page status. And if you forget (as you always do), well, WTF...