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."
The article is a bit misleading, since Gallery2 has been available for sometime and has been stable enough for all but the most critical applications...
-*The above statement is printed entirely on recycled electrons*-
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
If they had used extreme programming wouldn't it have been done alot quicker than 3 years? Or are they saying they just had some all-nighters.
Rock is Dead! Long live Paper and Scissors!!
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 helped someone install gallery over a year ago, and to my disappointment some of the pages on it re-directed to some spamish link farm. Mostly mistyped urls going into gallery, like leaving off a slash at the end of some urls, I think.
Is that still in there ?
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.
Why should I care more about how it was developped than what's the end product?
Announcing some software based on what process was used isn't informative at all.
cheers
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.
"Don't wait, download Gallery 2 now!" For the sake of all that is good and holy DOWNLAOD IT NOW!!!!! You must not delay another second! Stop reading and slashdot the web server!!!!
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.
How is this interesting? So you've got the toys and the buzzwords. Does it solve a problem? This doesn't say a word about macrodesign. Is the overall model elegant? That's the important part. The rest are just some really nice hammers and screwdrivers. They don't automatically make a good building.
So is this the interesting bit? "We made something that uses a lot of modern stuff, we did it in PHP, and it took us 3 years". Big deal?
Ah unit tests. First off, 1500 isn't very many. Secondly, as much as I love them, they only test what you thought of. They're a great tool, but they don't ensure correct anything: they just make sure that when you add something, you don't break something else. As long as you thought of "something else".
That's nice. How?
Don't think of it as a flame---it's more like an argument that does 3d6 fire damage
Slashdot Effect [ FAILED ]
Try the second sentence of the article summary?
Tedious Bloggy Stuff - hooray?
There is a, admittedly very obscure, reference to Gallery being "the best online photo management product possible" hidden in the article.
:rolleyes:
What could it be? Hmmm, let's see...yeah! It's really the code-name for the beta release of Duke Nukem Forever!
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?
I love InAlbum http://www.inalbum.com/ !
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
Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
- 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.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.
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
Check your facts dipstick, in general the binaries you need aren't easy tome come by. If you want to dispute that, show me the link.
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]
Well it didn't start off as a rant but the gallery site is dead, that's what happens when you get a few thousand requests making shitloads of database queries from a bloated runtime. Gallery, "it's got all the right buzzwords but dies under load", great engineering job guys, now go lookup what caching is all about.
I'm not really this much of an asshole, honest. Check out luajit if you haven't already.
Use your head and ask some questions. You can then turn left or right and get away from that brick wall you keep bumping your head into.
p _id=7130&package_id=14464
o ogle+Search
i ck&btnG=Search
http://sourceforge.net/project/showfiles.php?grou
http://www.google.com/search?hl=en&q=jhead&btnG=G
http://www.google.com/search?hl=en&lr=&q=imagemag
...it would be called Gallery 5!
You spent those three years figuring out what you wanted to make.
Admit I have no idea about the scope of this project (didn't rtfa), but i'm sure a couple of guys could whip up something similar in a month of their spare time.
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.
"Be aware that we have very high standards for core team members and we expect them to contribute at least 5-10 hours a week to working on the project."
Okay so, lets say each developer spent 7.5hours a week, 9 developers. 390h per year, 3 years work 1170hrs per developer.
So they're saying there's ~10,530 hours of work on this project? (plus about 35 "code contributors", and they use a library for the only decent thing on it, the templates)
It doesn't even look like a lot of thought went into coding it because.... well look at the code and you'll find out (saberworks lists a few of the problems). If they said 3 weeks (or months even) perhaps it might be a bit more believable.
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
I'm glad you think designing, coding, building RT non linear audio-video edit suites is "the easy part".
> 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!
The warnings are from Drupal, which would be the site's CMS. The website itself is not run off Gallery. So the warnings have nothing to do with the quality of the Gallery application.
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?
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?
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!
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
Well, mod me down, but by golly, you're right!
"Those who consume the bulk of goods are those who make them. We must never forget this secret of our prosperity."
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."
From my amateurish point of view Gallery2 sets the the bar high for other free web applications.
I have never installed any other free web app as easily as this one. Maintance is easy and logical. And it uses a good templating system (Smarty). E.g. many of the content management systems i've tried use a wicked templating system.
Of course i'm pleased with any app that i need and is available free of charge...
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
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
Ooh ooh, can you still download the album.dat file and get details about all the images in a "locked" gallery?
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...