Gallery 3.0 Beta 1 is ready!

Gallery 3 is finally in beta! We've been hard at work over the past 8 months designing and building a worthy successor to the Gallery line and we are happy to say that we've got something that we think will make you very happy. The big news for this release is that from this point on, we will support upgrades to future releases! But don't take our word for it, download it now!

Intended audience

Gallery 3 Beta 1 is not a finished product, yet. We still have a lot of polishing left to do on it. But most of the big pieces are in place and it's beginning to really shine. Even in its incomplete state, it is a stable and reliable product. If you're looking to move forward and you're willing to live a little bit on the edge, now is the time. If you're excited about creating beautiful themes and writing your own custom modules, now is a great time to get involved!

Security warning

We've commissioned a professional audit from our good friends over at Gotham Digital Science and they gave us a list of security flaws in the product. We have fixed all the major flaws they uncovered. There are still some little issues left, but they are along the lines of "you should ask for the old password as a confirmation when you let users change their password". We'll fix them, but they're not fixed yet. Are all the security holes closed? We hope so, but history says that there are probably a few that we haven't uncovered yet. If you install Beta 1 on a public site, we encourage you to watch for new releases and be prepared to upgrade when we put out security fixes.

Let's go!

With the disclaimers and warnings out of the way, here it is: Download Gallery 3.0 Beta 1 (1.2 MB) or retrieve directly from our revision control with git clone git://github.com/gallery/gallery3.git

The Gallery 3 Philosophy

Gallery 3.0 is easy and fun to customize. We have made every effort to make it much easier for the casual developer to hack on the product. You don't need a computer science degree to do something really cool with it! And our user-centric development process ensures that the user interface is not an afterthought.

  • Scope and target audience - Before starting development on Gallery 3.0, the target audience and the scope of the application were clearly defined. Gallery 3 is not a general purpose web application handling any file format you throw at it. And it's not supported on every web platform that exists.

    We made tough decisions early on to make the product leaner and faster for you. For example, we got rid of photo-level permissions and provide them only at the album level. This makes the app faster and easier to maintain while simplifying the UI and removing a feature that most don't use.

  • Simplicity - We've got some great usability and user interface experts on our team, designing and prototyping interfaces that just make sense. The emphasis is on making simple, frequent tasks quick and easy. To see an example of this, check out the admin dashboard and the user/group administration page.

  • Size matters! - Gallery 3.0 is currently a mere 4.4MB (uncompressed on your disk), with all its features. Compare that to the 16.5MB of Gallery 2.3's bare bones minimal package. Leaving out some levels of abstraction really helps to lose some weight!

  • On the shoulders of giants... - Gallery 3.0 is made possible by some truly great advances in technology.

    • We evaluated many PHP frameworks before choosing Kohana. It makes PHP application development simple and fast. Thanks to the Kohana folks for providing this first class application framework!

    • PHP 5. We're taking advantage of many of the new features and capabilities available in the latest versions of PHP. This allows us to write less code and have a faster product.

    • We're using jQuery to create the rich user interactions in the browser that make the application fast and light. Especially with with jQuery UI and a host of plugins, UI development couldn't be more hassle-free.

  • Easily customizable - Did you know you can create your own theme just by copying an existing theme to a new folder? How's that for easy? There's no new templating language so if you know HTML and PHP you can start hacking today.

  • Easily extendable - We've worked hard to keep things simple. You can write your own module complete with installer, menus and theme integration in just a few lines of code. And to make life easier, we've created a Developer module that gives you a point and click way to create your own modules.

  • Fewer configurations - We support Gallery 3 on Unix running MySQL 5, Apache 2.2 and PHP 5.2.3. By restricting the number of platforms that we support, we can put out high quality releases faster. Gallery 3 may work with MySQL 4.1, IIS and other platforms but the Gallery team is going to focus its energy on making the best possible product on the supported configuration.

What's new in this release?

  • Support for upgrading to further releases (beta 1)
  • Full HTTPS support (beta 1)
  • Use the EXIF caption as the photo description (beta 1)
  • Support for installs into non-empty databases (beta 1)
  • Gallery 2 Import now imports comments, sort orders, keywords, tags, timestamps and more (beta 1)
  • Photo and album names are editable (beta 1)
  • Big improvements to the Organize (bulk editing) feature including drag and drop, mass rotation and album highlights (beta 1)
  • Advanced settings editor (beta 1)
  • Greatly improved permissions interface (beta 1)
  • Improved localization client UI allowing to translate plurals (beta 1)
  • Performance improvements (beta 1)
  • 85 closed tickets in the beta 1 release
  • Bulk editing interface (alpha 4)
  • Gallery 2 to Gallery 3 import (alpha 4)
  • Tag management for admins (alpha 4)
  • 41 closed tickets in the alpha 4 release
  • Support for database table prefixes (alpha 3)
  • Random image block for the sidebar (alpha 3)
  • Module administration view (alpha 3)
  • Added translation server and localization client (alpha 3)
  • Reimplemented the Flash uploader using SWFUpload (alpha 3)
  • Album sort orderers (alpha 3)
  • Add photos directly from the web server (improved in alpha 3)
  • User/group/permissions management UI (alpha 3)
  • Auto-login at the end of the installer, with a welcome page (alpha 3)
  • Moved Google Maps and Polar Rose modules out of the official package into the community repository (alpha 3)
  • 58 closed tickets in the alpha 3 release
  • Localized UI with built-in editor (server side support is not finished) (alpha 2)
  • RSS feed for comments (alpha 2)
  • RSS feed for new images or movies (alpha 2)
  • EXIF read support (alpha 2)
  • Add photos directly from the web server (alpha 2)
  • Support for uploading and viewing FLV movie files (alpha 2)
  • Ability to view full size photos (alpha 2)
  • Boolean and full text search (alpha 2)
  • Album browsing
  • Item commenting, comment moderation
  • Spam protection with Akismet and Recaptcha
  • Image toolkit support for ImageMagick, GD, and GraphicsMagick
  • Theme system, including separate admin theme.
  • Module system to extend the functionality, and a series of existing modules
  • Basic metadata boolean search with relevance ranking
  • Flash-powered slideshow (Cooliris)
  • Album media RSS feeds
  • Quick edits of item metadata
  • In place item deletion and rotation
  • User group management (drag & drop interface)
  • Basic user permission management
  • Admin dashboard with drag and drop blocks

Roadmap

From the beta release onwards we'll be working on polishing up what we already have. We will try to restrain ourselves from adding lots of new features and will focus on stability so that we can release it to you sooner.. A few things that we know that we'll be adding include:

  • Photo printing support
  • More capabilities in the Organize feature
  • Import permissions from Gallery 2
  • Remap Gallery 2 urls to Gallery 3
  • Improved tagging support
  • Basic embedding hooks / instructions
  • (opt-in) Stats collection (helps us to improve the product)
  • Bulk editing of albums and photos (partially available in beta 1)

You can track development on our Trac roadmap.

Got feedback?

If you have any overall feedback, please visit the Gallery 3.0 Beta 1 Feedback forum topic and let us know! If you have questions, please visit the Gallery 3 Wiki, the future home for Gallery 3 documentation.

bharat's picture

@dooceave: I believe you're hitting this bug: http://sourceforge.net/apps/trac/gallery/ticket/442 -- no fix as of yet but if you don't select multiple images when you reorganize (or change your album sort ordeR) the problem should not happen again.
---
Problems: Check gallery3/var/logs first!
file a bug or feature request | upgrade to the latest code | use git

Do you plan on adding "user registration"? So they can register themselfs or did I missed it in the current beta?

@dingsbums: I believe its on the roadmap somewhere, but not for the 3.0 release
http://www.timalmdal.com

krak's picture

Thank you for Gallery 3 Beta1 :). I am experimenting with tags on a gallery (http://www.arjanenyvonne.nl). I read the module is still in progress as I experience many other parts. There is one thing specially catch my attention. Although all albums are hidden for the guest user, the tags are visible. Is it possible to hide this also for the guest user in a future release?

floridave's picture

krak, tested and created bug: https://sourceforge.net/apps/trac/gallery/ticket/457

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

i'm looking for a feature to add photos automatically to an album that contains my favorite photos (let's call it "Favorites"). It would be nice to tag any photo in any album (e.g. in the "Edit photo" Dialog) to be shown in this Favorites album.

At the moment, i am uploading these photos twice (1 in the original album and 1 in my "Favorites" album). This is a lot of work, because every title, description etc. has also to be done twice.

bharat's picture

@Bigda you can create a tag called Favorites and apply it to any photos you want, then just save the url for the tag and that's your favorites album.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

@bharat i tried your solution. This seems to be a workaround, but i don't know, how to create an album out of the url i get.

Hi!

I installed G3 yesterday and it worked like a charm. I was so surprised by the easy installation. Thanks a lot for your effort on G3!

However, as a long time G1 user I was missing some points and wanted to ask, if they will be included in the final G3:

*) pictures are presented scaled down, because the G3 sidebar uses so much space. e.g.: an 800px × 532px is scaled to 689px × 458px. the user has to click again to see the full size image pop up.

*) statistics? Like how many times a certain album or image was viewed (displayed with the respective album or picture) Edit: --> it is there and I just did not see it. Works well too!!

*) notifications are not sent with the domain of my website, rather with <admin@gallery3.com>. Could not find a setting to change that?!

*) and finally something that is (AFAIK) not in G1: hidden albums. I would like to have albums that do not show up on the front page, but are accessible by typing in the album URL and do not require login/registration.

Cheers

h_s

@h_s:
notifications: To configure the from address for the notifications, copy modules/gallery/config/sendmail.php to application/config and edit to set the from and reply_to addresses.
hidden albums: not on the roadmap as far as i can remember. They were implemented in G2, but they were more of a hack and it was quite complex. The approach in G3 is to create a new group and only give that group access to the album.

Tim

http://www.timalmdal.com

@Tim

Thanks alot, works well!!

h_s

I have not seen this bug in any of the Alpha version of G3, I have read simular.
After Importing my gallery 2 data, into gallery 3B1, the import is fine, I am experiencing a problem where no matter how I change the sort order of certian albums like the first album , link below, though when you enter the album all photos show, when you click on the first item, it may be number2 and hit next your at 24 and visa versa, so I may only be able to view 2 items within the album, should I click on another item, and hit next i many get a different photo say 15, at 15 when i hit previous it goes back to the original photo not 14 which is should.
I have tried all sort orders rearranging etc...

www.armaniphotography.com/gallery3

Are there any plans to be able to offer multiple resizes of photos for download? I would like to be able to offer my users a number of sizes (1280x1024, 1024x768, 800x600, 640x480) through different links without having to keep all of the resizes available on disk (i.e. generate them on the fly as the users request them). I realize the user can just resize them themselves but I have family members who are not that advanced who would download pictures from my site for use on digital picture frames and such and would like to just present them the automatically rezied photo. I've got plenty of cpu to spare, so not concerned with how long it might take a create the resize.

bluetickle's picture

Hello... wanted to say I like the potential of G3!

Unfortunately, I'm having a little trouble using G3 beta 1 on my little home Linux server.

I can't upload pictures. I get "server error" when I try to upload.

I am using HTTPS due to the fact my ISP (Cox) blocks port 80 but not port 443.

My SSL cert is expired by 6 days and I haven't had a chance to renew it with Godaddy yet. Do you think it would upload correctly if there wasn't an expired SSL cert?

Thanks

bharat's picture

@Armani2: that bug is fixed in the latest code, try it out!

@rhatguy: no plans currently. There's a topic about this in the G3 forums, though so you may want to participate in the discussion there

@bluetickle: please check your gallery3/var/logs log files and let us know what you find there. The latest code is tested and works fine with https connections.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

bluetickle's picture
Quote:
@bluetickle: please check your gallery3/var/logs log files and let us know what you find there. The latest code is tested and works fine with https connections.

NO logs exist in gallery3/var/logs

I tried changing error reporting in index.php and still no logs appear

// Set the error reporting level. Use E_ALL unless you have a special need.
error_reporting(1);

// Disabling display_errors will effectively disable Kohana error display
// and logging. You can turn off Kohana errors in application/config/config.php
ini_set('display_errors', true);

Hmmm, no work and no logs, what to do?

floridave's picture

@bluetickle: wipe out your install and try the latest version. ( see bharats sig) Lots of changes since the first beta.
error reporting try:
error_reporting(E_ALL);

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

bluetickle's picture

Well no need to wipe anything out... it seems that if the there is a security error such as expired certs, then HTTPS does not work. I updated the certs with valid ones and now the uploading happens without error...

there you go.

Gallery and HTTPS only works with valid and current SSL certs.

I guess no snake oil for you!

Quote:
@bluetickle: wipe out your install and try the latest version. ( see bharats sig) Lots of changes since the first beta.
error reporting try:
error_reporting(E_ALL);

Dave

bluetickle's picture

Gallery 3.0 beta 1

Is not compatible with "Dreamhost" web host.

error received during install:

Quote:
Not Found

The requested URL /cgi-system/installer was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Maybe this will help? > http://photos.silkytiger.com/test.php

There is no "/cgi-system/" folder it seems to be a Dreamhost security thing that breaks Gallery 3.0 beta 1.

floridave's picture
bluetickle wrote:
Gallery 3.0 beta 1

Is not compatible with "Dreamhost" web host.

It works for me. no time to dig....
perhaps this will help: http://gallery2.ca/gallery2/phpinfo.php

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

bluetickle's picture

Well it doesn't work for me!

For every link a path is generated dynamically that includes /cgi-system/ which results in a broken link.

I don't know what is wrong. Dreamhost tech support says that there is something wrong with the Gallery 3 code... Doesn't that make you feel warm and fuzzy!

I had to manually remove the /cgi-system/ to get the installer to load.

The installer shows the install path to be /home/.channa/peggybear/photos.silkytiger.com/var

I would like to change this to /home/peggybear/photos.silkytiger.com/var but I couldn't figure out how to do it because there is no way to edit the install path.

The end result is a pretty weak looking Gallery where nothing works.

See here:

http://photos.silkytiger.com/

http://photos.silkytiger.com/phpinfo.php

bharat's picture

@bluetickle: I believe this is fixed with the latest code. See the upgrading link below.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

bluetickle's picture

Cool!

It works now! Thanks!

Hi,

When I refine translation and find that "View" and "View Full Size" in permission dialog are not listed in page text of translation. There is no such problem on the other two permissions.

AndrewRH's picture

I created an album inside an album (let's call it an 'embedded album') and filled it with pictures. This embedded album showed up as it should and one of the pictures from it was used as the top level album's thumbnail (there were no pictures in the top-most album, just the embedded album). I then deleted the embedded album. The thumbnail of the top-most album was not removed (even though the original picture had been deleted along with the embedded album).

~Andrew~

floridave's picture

Don't know if that would be a feature or a bug. :-) I guess depending on your view, some would argue it could be either.
Personally I think this is a bug, so please file a bug for it.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

I've just installed and tested Gallery3 Beta 3.0. It's great, fast and simple to use - as it was promissed.

I missed some basic features:
- options to resize pictures on the computer and upload them in resized version;
- permission to a user (not just to a user group) to manage a selected album (In Gallery 2 I'm using per user albums);
- size limit per album (user).

I'm pretty shure that this features will be added in future versions - or am I wrong?

Thanks for your great work.

Hi!

I have installed G3 and I am very happy with it. Just some questions:

If I add that (as suggestet here) to the .htaccess in my gallery directory to enable short urls nothing happens:

Quote:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

*) Is there a way to completely get rid of the image sidebar to use the whole width to display fotos? Now the sidebar and all the captions above and below seem very heavy compared to the actual content of a gallery: the picture.

*) also if you click on one image to see it in full screen there is this Button "x" overlayed. IMHO it should be next to the picture but not overlayed.

*) Is it possible to set the HTML title tag of the gallery to something else than "browse photos album"?

Cheers

h_s :)

floridave's picture
Quote:
*) Is there a way to completely get rid of the image sidebar to use the whole width to display fotos? Now the sidebar and all the captions above and below seem very heavy compared to the actual content of a gallery: the picture.

In the future the community will come up with themes that have different layouts. In the meantime you could create your own theme to achieve this. Post in the forms what you have tried if you get stuck.

Quote:
*) also if you click on one image to see it in full screen there is this Button "x" overlayed. IMHO it should be next to the picture but not overlayed.

This is a YUI/jQuery thing but I suspect it could be changed with some css.

Quote:
*) Is it possible to set the HTML title tag of the gallery to something else than "browse photos album"?

I think this is fixed in the next build. Try a new version from git.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Hi

I am having problems with my new installation of Gallery 3 Beta 1.
The system is VERY slow - no matter what I click, it takes about 5-10 seconds to end the request.
The server is running some other websites, that run very smooth - so I'm sure it's not the server power that is the problem.

I have some (maybe 50) errors in the log files like:

2009-06-29 13:08:34 +02:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176

And

2009-06-29 10:47:29 +02:00 --- error: Uncaught Kohana_404_Exception: The page you requested,
file_proxy/01-XXXXX/DSC_0042.JPG, could not be found. in file system/core/Kohana.php on line 841

Anyone? What could that be?
Thanx a lot!!

I just updated gallery3 to the lastest, and it looks like the menu tabs are missing in Chrome. It's there for IE, Safari, and Firefox.

@cowlemon:
Just tried Chrome 3.0.x on Linux and menu tabs look fine.
Tested with the latest version of Gallery 3 from github.

What Chrome version are you using?
Can you take a screenshot to illustrate the problem?

Thanks

took 2 screenshots. left is chrome 2.0 and right is firefox 3.5.

@cowlemon:
Thanks!

Can anyone with Chrome 3 (= Chrome developer channel, available to anyone) verify that this issue is gone in Chrome 3?
It's gone for me on Chrome 3 / Linux. Can't test it with Chrome 3 / Windows right now.

Works for me on Chrome 2.0.172.33 on Windows XP and the latest code from HEAD

http://www.timalmdal.com

@cowlemon: updated... as in got the new code and installed it on top of an existing gallery3 installation? Or fresh install? If the first, what was the version you had before?

http://www.timalmdal.com

floridave's picture

Works for me on Chrome 2.0.172.33 on Windows XP
Works for me on Chromium 0.3.155.0 on Windows XP

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Looks like it only happens if I turn on the compression to 9. If I leave it as FALSE, then it's ok.

when viewing a photo, the info block on the right says "folder name" instead of "file name".

Hi!

I still have some issues with mod_rewrite and .htaccess. I added

Quote:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

to my .htaccess, set the RewriteBase according to my directory structure and nothing happens. Is there a way to debug this? Any hint, where I could start looking for possible errors? I am using gallery-3.0-beta-1.

Cheers

h_S

nivekiam's picture

I'm pretty sure Beta 1 didn't ship with the ability to utilize mod_rewrite. Upgrade to the latest code and try again. If you have more problems, please ask in the forums. This is a thread announcing B1, not for troubleshooting problems.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

In order to test G3 with my gallery2 (near 27 000 elements), I try to import my G2 gallery but impossible.
Import is possible for multi-site gallery ?
(I took the last zip (pre bêta 2) (9th July version))

When i put the filepath of my multi-site gallery2 : I have the following page :

Dang... Something went wrong!
We tried really hard, but it's broken.
Hey wait, you're an admin! We can tell you stuff.
Ok.. tell me stuff!
Help!

If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
The page you requested, admin/g2_import/install, could not be found.

File: system/core/Kohana.php, line: 841
And here's how we got there:

* modules/gallery/controllers/admin.php [47]:

Kohana::show_404( )

*

Admin_Controller->__call( g2_import, Array
(
[0] => install
)
)

* system/core/Kohana.php [291]:

ReflectionMethod->invokeArgs( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)

)
, Array
(
[0] => g2_import
[1] => Array
(
[0] => install
)

)
)

*

Kohana::instance( )

* system/core/Event.php [209]:

call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)

* system/core/Bootstrap.php [55]:

Event::run( system.execute )

* index.php [85]:

require( system/core/Bootstrap.php )

Thanks for your help.

floridave's picture
cowlemon wrote:
when viewing a photo, the info block on the right says "folder name" instead of "file name".

Please file a bug report here:
https://sourceforge.net/apps/trac/gallery

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

floridave's picture

@bvossey, please start a thread in the G3 forums.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

@floridave : sorry for my post here, a new thread is in the G3 forums.
Thanks

Man this looks really great!! I hope that I soon can move over to this from Gallery2 :-)

Right now I see one dealbreaker for me:
I really appreciate that gallery3 also supports adding photos directly from the web server. The thing I am missing from G2 is the option to, instead of copy, link the source photos. This saves a lot of space on the server and I would suspect that most users of the function "Add photos directly from the web server" would appreciate this addition.

What has been your discussions about this feature? Any plans to add it? If not, why did you decide to remove it?

BR

floridave's picture

The from server add feature is being rewritten. Not sure if this feature will be available or not.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

@cewan: at this point no its not and no plans to add, you can always create a ticket as a enhancement or fork the project and add the functionality yourself :-) If you do a quality job of it, we can always pull your patch into the main repository.

When I wrote server add originally, I never considered it, as I never use it that way. I tend to stage my images, import them and then delete them from the staging directory.

http://www.timalmdal.com

Sounds like quite an easy fix, instead of copying each image, just link it. Can you give me any pointers in where to start looking in the code? :-)

bharat's picture

@jureb:

Regarding permissions for users (instead of for groups): there's
a substantial performance increase if we restrict you to setting
permissions only for groups. We decided that enough of our users
would be able to use Gallery this way that it was worth the
tradeoff. The performance win applies more to the view
permission than it does to edit permissions (but our whole
perm. system was designed that way for now)

Size limit per album: this would be a fine 3rd party module.

Option to resize pictures on the client side and then upload
them: this is tricky and requires more client side work. It's
not a focus for us now. If somebody knows of good technology to
do this, please pass it on.

@goosman:

Can you provide a link to your G3? If you run wget or
apachebench on the link what kind of performance results do you
get? We've made some fixes post beta 1 that reduce the number of
subsequent requests we make for CSS and JS which greatly
increases performance.

@cewan:

I outlined a simple approach here: http://gallery.menalto.com/node/88284
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!