Gallery 3.0 Beta 2 Feedback

bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Wed, 2009-07-15 02:37

Gather round and tell us what you love and hate about the beta 2 release! Don't forget to check your log files before reporting errors, and if it's been a while since the release (July 14th) please consider grabbing the latest code from revision control and making sure that the bug still exists. See my signature below for some useful links.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
Ser Moro
Ser Moro's picture

Joined: 2007-12-08
Posts: 79
Posted: Wed, 2009-07-15 07:42

Thank you.
-=SM=-

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2009-07-15 08:30

Upgraded to beta 2, everything seemed to go fine, except now all I get is an empty page with some html in it:

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>
Browse Album :: Gallery </title>
<link rel="shortcut icon" href="/g3/themes/default/images/favicon.ico" type="image/x-icon" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="/g3/themes/default/css/fix-ie.css"
media="screen,print,projection" />
<![endif]-->
<script type="text/javascript">
var MSG_CANCEL = "Cancel";
</script>

Attempting to investigate now, although although my var/logs folder is empty so this'll probably take some time to figure out...

Edit:
Okay, after pulling up and sql prompt and manually disabling modules one at a time, I've decided that my gallery installation is breaking whenever the Polar Rose module is enabled. It also looks like images defined in the CSS aren't loading (for example the slideshow icon and the other images in that area are all missing), but its ridiculously late right now so I think I'll get some sleep and figure out why that's not working for me later.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Wed, 2009-07-15 13:23

We pulled Polar Rose from the official distro, so you can either delete it from your modules dir, or grab the latest copy from the gallery3-contrib repo.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
ShizzlePDX503

Joined: 2005-12-02
Posts: 6
Posted: Wed, 2009-07-15 14:07

I just wanted to say that I have been a gallery user for a long time... I am now running G3 Beta 2 without any issues at the moment (keeping fingers crossed ;)). Here is my setup:

Windows Vista
Apache: 2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i
PHP: 5.2.9
MySQL: 5.1.33

Though I have cheated a bit and used apachefriends.org distro to install my webserver I have never had any problems installing any php script.

Thanks again for a great product and look forward to the future of G3.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-07-15 19:19

What was the reason to combine JS/CSS?
Now it is almost impossible to design/track theme changes
Is there a way to disable it?

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2009-07-15 18:51
rWatcher wrote:
Edit:
Okay, after pulling up and sql prompt and manually disabling modules one at a time, I've decided that my gallery installation is breaking whenever the Polar Rose module is enabled. It also looks like images defined in the CSS aren't loading (for example the slideshow icon and the other images in that area are all missing), but its ridiculously late right now so I think I'll get some sleep and figure out why that's not working for me later.

Okay, attempting to dig into my "UI images aren't loading" problem. According to the activity window in Safari, the images aren't loading because the web browser is looking in the wrong places:
[img]http://i29.tinypic.com/2vb4js1.jpg[/img]
Looking at the .css file, I'm seeing lines like this for the images that won't load:

Quote:
.ui-icon { width: 16px; height: 16px; background-image: url('http://example.net/gallery3/lib\themeroller\images\ui-icons_469bdd_256x240.png'); }

Quote:
.gBreadcrumbs li {
background: transparent url('http://example.net/gallery3/themes\default\images\ico-separator.gif') no-repeat scroll left center;
float: left;
padding: 10px 6px 10px 16px !important;
}

Quote:
#gViewMenu #gSlideshowLink {
background-image: url('http://example.net/gallery3/themes\default\images\ico-view-slideshow.png');
}

Looks like wherever there's a "\" instead of a "/", the slash is being ignored, and I've got no idea where it got that "%UDEF" thing from. Weird.

Edit:
Modifying gallery3\modules\gallery\libraries\Gallery_View.php to spit out css with all the slashes going the same way ("/") does not make any difference. I've got absolutely no idea why its not working right.

 
jezmck
jezmck's picture

Joined: 2009-02-27
Posts: 27
Posted: Wed, 2009-07-15 18:07

The upgrade process was perfect - well done, and thanks!

However:

Is it no longer possible to Add from Server a whole directory?
So now I have to click on each of the dozens of files in the folders?

I have tried shift-clicking but no luck, I have tried double-clicking the folder, but this ends up with no images in that folder selected.

 
LoneShepherd

Joined: 2003-12-29
Posts: 59
Posted: Wed, 2009-07-15 18:11

There was a closed bug ticket on removing index.php from the URLs but I see no way of doing so through the gallery web interface.

How is this done? Are there open tickets on making this functionality easier to use / discover?

 
jezmck
jezmck's picture

Joined: 2009-02-27
Posts: 27
Posted: Wed, 2009-07-15 18:29
Quote:
Support for short URL styles (look in gallery3/.htaccess for info on how to set that up)

BTW - just done what it says, and works for me :)

 
jezmck
jezmck's picture

Joined: 2009-02-27
Posts: 27
Posted: Wed, 2009-07-15 18:54

Me again!

I've not seen this bug before, so I don't know if it's this new version that's causing it...

[img]http://hosted.jezmckean.com/gallery-view-bug.jpg[/img]

The 6th image there is the top left corner of the thumb, which is the same as the full size image!

 
LoneShepherd

Joined: 2003-12-29
Posts: 59
Posted: Wed, 2009-07-15 19:21

Weird. The .htaccess file didn't get replaced when copying over the Beta2 stuff to my Beta1 directory.

Anyway, now works fine; thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 19:26
Quote:
What was the reason to combine JS/CSS?

I don't know exactly, but it does help in compressions and sending fewer files to the browser

Quote:
Now it is almost impossible to design/track theme chnages

Not entirely. For each file that gets combined there is a string in the combined file where the individual file starts. Each save of CSS (and I assume JS) forces the combined file to be recreated. At least in my experience so far.

Quote:
Is there a way to disable?

I was wondering that too :)

For windows issues: See this thread. It's a known problem on Windows and Apache (and I don't know what else)
http://gallery.menalto.com/node/88980#comment-313504

That link provides a fix, that fix may not ever make it into the core code, I don't know. Windows users may need to maintain their own fork(s) of the code. Windows is just not supported unless someone is willing to step up to the plate.

For short URL, see .htaccess that ships in the gallery3 directory
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2009-07-15 20:39
rWatcher wrote:
Modifying gallery3\modules\gallery\libraries\Gallery_View.php to spit out css with all the slashes going the same way ("/") does not make any difference. I've got absolutely no idea why its not working right.

If I turn off the Organize module, the missing images will show up when using Internet Explorer. Safari/Firefox/Google Chrome continue to not display the images regardless.

Additionally, if I turn on Notification, the root album (gallery3/index.php) will not load when logged in as a "normal" user, although sub album's continue to load fine. It will load fine when logged in as admin or not logged in at all though.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 20:46

rWatcher, try this fix: http://gallery.menalto.com/node/88980#comment-313504

Again guys, G3 is not supported on Windows.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2009-07-15 21:04
nivekiam wrote:
rWatcher, try this fix: http://gallery.menalto.com/node/88980#comment-313504

Again guys, G3 is not supported on Windows.

I know it's not supported in Windows, but the fact that it works fine in one browser but not another is making me wonder if the problem I'm seeing is on the server end or the web browser end :/

That line of code fixes the image display problem in Safari. Internet explorer works properly for me regardless of that line. Firefox and Google Chrome continue to not work. I also deleted everything from the gallery3 caches table, just to make sure everything was refreshing properly.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 21:11

Clear caches. It works for me on Firefox with that fix. Open a css file that gets combined and save it. Force G3 to recreate the combined css file and force FF to reload the page.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Wed, 2009-07-15 21:23

@rWatcher: What you're seeing is that URLs that are mangled in a Windows specific way work fine on a Windows based browser. :-) But even though we don't support Windows, we don't want to cut it off at the knees either. nivekiam and I are discussing a fix here:
http://github.com/nivekiam/gallery3/commit/a2930cfa613ef12e91909a9351d2a01019f53937#comment_25489 -- when we get that right I'll pull it in.

@SergeD: browser connections to load JS and CSS are a huge source of end-user latency. By combining the files, we make the site *much* faster. There's no way to turn it off currently, but we can add a means to do that in the future if it's really getting in your way.

@jezmck: you can still an entire directory hierarchy in server_add. Directories are selectale, just use single-click to select the one you want. For the unusually large thumbnail you've got there.. that's weird. Can you share the url to your site here?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
jezmck
jezmck's picture

Joined: 2009-02-27
Posts: 27
Posted: Wed, 2009-07-15 21:38
LoneShepherd wrote:
Weird. The .htaccess file didn't get replaced when copying over the Beta2 stuff to my Beta1 directory.
Anyway, now works fine; thanks.

As a hidden 'dotfile' it won't be copied by default in *nix.
(hence their instructions suggesting that you copy the var folder to the newly expanded folder.

bharat wrote:
...
@jezmck: you can still an entire directory hierarchy in server_add. Directories are selectale, just use single-click to select the one you want. For the unusually large thumbnail you've got there.. that's weird.
Can you share the url to your site here?

Oops, somehow didn't realise. On a related note, I think it needs somekind of spinner to show that the contents are being fetched when opening a folder - the server I'm using is rather slow at this.
Sorry, I deleted that image, then reloaded it, didn't happen again. (I was wrong about it being the top left hand corner though, was the middle of the left side.

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2009-07-15 21:57
nivekiam wrote:
Clear caches. It works for me on Firefox with that fix. Open a css file that gets combined and save it. Force G3 to recreate the combined css file and force FF to reload the page.

Oh right, I forgot about the browser cache :( That does fix it, thanks :) It also fixes the issue where the Organize module was messing up IE.

bharat wrote:
@rWatcher: What you're seeing is that URLs that are mangled in a Windows specific way work fine on a Windows based browser. :-) But even though we don't support Windows, we don't want to cut it off at the knees either. nivekiam and I are discussing a fix here:
http://github.com/nivekiam/gallery3/commit/a2930cfa613ef12e91909a9351d2a01019f53937#comment_25489 -- when we get that right I'll pull it in.

Ah, thanks. IE being the only browser to work makes sense now :)

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-07-15 21:59

@bharat: once JS/CSS file is loaded it would be cached until caching session is violated. So it is an issue of the first load.

Then if you are to worry about the size of the CSS, compress and optimize it by one (ex. http://csstidy.sourceforge.net/ or http://www.webappers.com/2009/01/22/minify-combine-compress-css-or-javascript-files/) instead of combining them (even with optimization).
Sending 2 files of equal size over the pipe is no better or worse then sending one combined.

Looking at the file, nothing else done much.
csstidy gives more options for compression (like comments, merging, etc)
Again this assuming that our CSS is perfect.
What I have observed so far is a lot of redefining going between different CSS files. This slows down rendering because many paths needs to be analyzed.
I think simplifying CSS should be a goal rather then obscuring data sent via the wire.
As a developer of the theme, I can compress it myself (assuming I could provide source as well :)
Nothing needs to be done for me which makes process of development harder.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Wed, 2009-07-15 22:08

@SergeD: I'm not going to get into a long discussion about this, but suffice it to say that this particular issue is my area of expertise as it's what I do in my day job. Read up on this via the links here http://www.google.com/search?q=high+performance+websites
Install Google Page Speed (or YSlow!) and profile both approaches and you'll see a substantial improvement with the current approach. Don't count on your bare intuition here. Nothing is being obscured, optimized or compiled here-- we're just combining requests. I would at some point like to loop JSMin and CSSMin into this though and actually optimize our JS and CSS to reduce bytes over the wire and remove unnecessary CSS.

@jezmck: there is a spinner when it's loading folders. I'm not sure why it's not appearing for you.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
Bigda

Joined: 2009-06-23
Posts: 29
Posted: Wed, 2009-07-15 22:22

There are some photos in my gallery that won't rebuild:

[img]http://www.dieter-sattler.de/kram/gallery/01.jpg[/img]

After rebuildung the finished task shows updated, but the Taskmanager is still colored yellow. Browsing the log shows:

[img]http://www.dieter-sattler.de/kram/gallery/02.jpg[/img]

Any ideas?

BTW: The photos can be viewed in the gallery without any problems.

 
van_Gogh

Joined: 2005-06-21
Posts: 14
Posted: Wed, 2009-07-15 22:25

Upgrader went fine. Nice :)

Just a small thing i noticed as far. When exif-module is activated i get a "view more information" button in the sidebar. It's a bit confusing there, especially when you have the image-block-module. So my first thought was it's the exif of the random image ^^ Besides this "theme-issue" when i click on the button, a nice popup with the exif-tags comes up... but how to close it? There is no "x" or "close" or anything like that ;-)

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-07-15 23:01

@bharat: yes, granted you may have more experience with that then me

I think we are talking apples and oranges here
from "Google Page Speed" you addressed "Combine external CSS" while same could be achieved by "Optimize the order of styles and scripts" or even improved since you would be doing parallel download of several CSS at the same time, instead of downloading one big one. Without optimizing the file, you are actually may hurt the performance.

JavaScript is slightly different story.

What is an improvement with CSS download time here?

Otherwise, I think "Optimize browser rendering" would be better goal here :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-07-16 00:36
Quote:
Sending 2 files of equal size over the pipe is no better or worse then sending one combined.

Quote:
What is an improvement with CSS download time here?

bharat will have a better longer more professional answer, but here is mine albeit short answer:
One http request is 2 times faster than 2.
But to quote a book author on the subject:
"...the server only makes one HTTP request per page instead of several. All this shaves valuable milliseconds off delivery time."
from a different book on the subject:
'Rule 1 - Make Fewer HTTP Requests' as we already have to make a lot because each image is a request in itself being a photo album and all.

I agree with you that there needs to be a 'switch' to turn it off for development.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
chrismc

Joined: 2009-07-16
Posts: 3
Posted: Thu, 2009-07-16 01:36

After upgrading to Beta2, my G2 import no longer works. I tried unzipping over the existing files as the directions recommended, as well as unzipping to a new directory and copying my var folder over. Everything else works fine. Server is Ubuntu 8.04.2 LTS, Apache/2.2.8, PHP/5.2.4-2ubuntu5.6, MySQL.

Error is as follows:
From the admin dashboard, I visit Settings menu->Gallery 2 Import (http://mydomain.net/g3/admin/g2_import). This page works ok. I enter the correct path to the gallery2 embed.php file. After clicking Save, I receive the following error page (http://mydomain.net/g3/admin/g2_import/install/).

Quote:
Dang... Something went wrong!

We tried really hard, but it's broken.

Hey wait, you're an admin! We can tell you 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] =>
[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 )

In my log file, I only received the following (which is less informative than the error html page):

Quote:
2009-07-15 20:33:33 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/g2_import/install, could not be found. in file system/core/Kohana.php on line 841

It suggested I ask for help in the forums, so here I am.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Thu, 2009-07-16 02:41

@Bigda: check your var/logs output and your apache logs output. Anything in there?

@van_Gogh: there's a little [x] in the top right hand corner that you can use to close that, and all other dialogs. We have http://sourceforge.net/apps/trac/gallery/ticket/214 to figure out where to put the exif data.

@SergeD: At this point, I'm pretty overloaded with making the product work so that we can release it. I'm comfortable with what we have. If you feel that we've gone the wrong direction with combining CSS, please make a compelling case why it should be changed with reproducible benchmarks and I'll seriously consider it. But without data, I'm going to leave it as it is.

@chrismc: can you delete var/modules/g2_import and try again and see if you still get the problem? If you do, can you zip up your var/modules/g2_import and share it with us?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-07-16 03:33

My XML Minislideshow now works with G3 :)
No need for any external feed generator we now read G3's built-in mediaRss feeds natively.
I've even updated my super easy embed tool for G3 :) :)

@bharat install went without a hitch, Imagemagick and ffmpeg detected normally (/usr/local/bin/) thanks!

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-16 04:04

suprsidr, SWEET!!!!
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-07-16 04:21
 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2009-07-16 06:45

There is a gzip mod for htaccess file which makes firebug happier

<IfModule mod_deflate.c>
# compress the files
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript

# removes some bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary

Header append Vary User-Agent env=!dont-vary
</IfModule>

 
chrismc

Joined: 2009-07-16
Posts: 3
Posted: Thu, 2009-07-16 16:29
bharat wrote:

@chrismc: can you delete var/modules/g2_import and try again and see if you still get the problem? If you do, can you zip up your var/modules/g2_import and share it with us?

I removed (well, technically I moved to my home directory out of the web directory tree) the var/modules/g2_import directory (which contained a directory named '6ffbc437383d9fa0e524a5c303008534', which contained bootstrap.inc, embed.php, Gallery.class, main.php). After doing that, the same process sent me to 'http://mydomain.net/g3/admin/g2_import/save', which produced a blank page. Nothing was logged for this event. I tried deactivating and reactivating the g2_import module, with the same result. There is now nothing in the var/modules directory, even after de/reactivating the module.

 
van_Gogh

Joined: 2005-06-21
Posts: 14
Posted: Fri, 2009-07-17 14:49

@bharat: D'oh. It was there, but i didn't see it because of the css-bug under windows. With nivekiam fix i see it now ;) Sorry for complaining.

 
Bigda

Joined: 2009-06-23
Posts: 29
Posted: Fri, 2009-07-17 19:08

@bharat: Finally i found out was was going on...

6 photos where missing (got probably lost while uploading by ftp).

Everything fine now - keep up your great work!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2009-07-17 20:55

@bharat: logic of forcing combined CSS/JS is not optional
If I am to create a file without any CSS or JS registered using $theme->css or $theme->script, code still trying to put combined files and therefore failing since there is none

Another thing, there is no minimal theme based just page.html.php.
Code requires album.html.php also being present

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Sat, 2009-07-18 03:11

@chrismc: Oops, my bad. Recreate var/modules/g2_import and chmod 777 it, then try again. I forgot that you need to leave that dir intact.

@van_Gogh: Glad to know that we resolved it!

@Bigda: whew!

@SergeD: good point! http://sourceforge.net/apps/trac/gallery/ticket/554

---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
alexandreracine

Joined: 2005-06-16
Posts: 39
Posted: Sat, 2009-07-18 03:14

Comments...

1-Upgrader went well. ya!
2-Oups, still no EXIT rotation? ok ok, I'll wait :) (Yes I know it is in the bug database)
3-Yes, some % radio of JPG! :)

Easyness of use (bug or feature request?)

10-When looking at the full image size, it there any plan to do a "next" when clicking at the right part of the image, "previous" on the left side, and close anywhere else? Like that the "X" in the up-right corner could disapear.
11-When clicking on "start translating", nothing really happens... there is no hints about anything.
12-"Start translating" is not translated by the way ;)
13-I added some photos with the "add from local folder" and after the "Found 30 pictures" is seems to stop and do nothing. I did not know if I needed to clic somewhere or not. After waiting for a while, it did show adding 1 of 30...

Real bugs

20-The slideshow module does not work with album that contain accents ("é").
21-The slideshow does not seems to load PNG files.
22-Looking at a single photo and loading the slideshow does not work. The slideshow say: "There are no items, Please try another link"

Alexandre Racine
http://www.salsamontreal.com - Évènement, photos et beaucoup plus!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-07-18 04:10

10-> that could be done with a custom theme.
11-> scroll down and click "translate text". There is work on the translation front stay tuned.
12-> please file a bug on this.
13-> please start a new thread with this issue. include steps you are taking and if there is anything in the /var/logs direcotory.

20-> I think is is reported already. Please search and add a bug if you can't find one. There is a few bugs with accents and they might all be related.
21-> Seems to work for me. Got a url or a .png file? Start a new thread on this as well.
22-> Seems to work for me as well: http://www.langleycom.com/gallery3/index.php/ONe_item Please start a new thread with url.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2009-07-18 06:29

> > 12-"Start translating" is not translated by the way ;)
> 12-> please file a bug on this.

please don't file a bug. the "start translating" message is internationalized already. all that is missing is a translation to your language (French?).
you can translate it yourself and you can share the translation with the community. :)

see:
http://codex.gallery2.org/Gallery3:Localization

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-07-18 06:45

Sure the message is internationalized, but once you click the 'start translating" it becomes 'stop translating".
I don't see a location in the UI to translate 'start translating'.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2009-07-18 08:47

@floridave:
in the translation UI, click on "show all", then you'll see a list of all messages, including "start translating."

this might sound like a hack, but there's a reason for that. there's a whole list of messages that you might never see when you're translating. e.g. the "login" message, since you're logged in already. or any other message that is shown only to guest users. or messages that are only shown under certain conditions. that's why we have this "show all" mode.

 
Ra10

Joined: 2007-01-02
Posts: 3
Posted: Sat, 2009-07-18 18:23

Couldn't wait for final release and tried the beta 2 today...

Fresh install and import of about 350 photos worked smoothly without any issues despite me using an 1&1 account and having experienced performance issue with gallery 2.3 before (broken images).

Started experimenting with theming for my own - result of one afternoon can be found at my test installation http://www.bahnimpressionen.de/gallery3.

To sum it up I am very impressed...

However, three features I do really miss:

1st The ability to store and display a date for each image (exif import on upload would be nice as with the description) and to edit it manually.

2nd The possibility to watermark a full size-image (in my eyes a full size image could be treated like a resized image at least to a certain predefined maximum-dimension, e. g. 1280x1024).

3rd The possibility to use different watermarks (e.g. one for each photographer).

Thanks and greetings from Dresden

Ralf

 
alexandreracine

Joined: 2005-06-16
Posts: 39
Posted: Sat, 2009-07-18 19:07
valiant wrote:
@floridave:
in the translation UI, click on "show all", then you'll see a list of all messages, including "start translating."

@floridave @valiant
12-> "Show all" does not show all. It only display all strings currently active on the page. Since "Start translating" is only available when the translator is not active, it will never show in the "show all" list. https://sourceforge.net/apps/trac/gallery/ticket/567

@floridave
20-> Done. https://sourceforge.net/apps/trac/gallery/ticket/569
22->no no, start from here :) http://www.langleycom.com/gallery3/index.php/ONe_item/53front.jpg https://sourceforge.net/apps/trac/gallery/ticket/568

I'll wait for the next version for the other stuff.

Alexandre Racine
http://www.salsamontreal.com - Évènement, photos et beaucoup plus!

 
sono

Joined: 2009-07-18
Posts: 1
Posted: Sat, 2009-07-18 23:37

I installed Beta2 today and its working really well, just wanted to thanks to everyone working on this.

One feature that I think would a big difference is having the ability to have privacy options on individual photos as well as the current ability to control complete albums. I currently get around this by uploading the same album twice, one private and one public (with all private photos deleted). Although this works it does mean I have to upload the same photos twice.

Keep up the good work,

Iain

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-07-19 02:00
Quote:
One feature that I think would a big difference is having the ability to have privacy options on individual photos as well as the current ability to control complete albums.

Search for conversations on this, but in summary it's not going to happen in the core product, period. We've learned our lesson from G2 :) Someone may create a plugin for this, but the decision was made to keep things simple and for performance reasons. Having permissions being able to be set by user and on individual items can really hurt performance.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-07-19 02:25

@sono: That was discussed at great length. There is a significant performance impact, adds more code complexity, code size, user interface design complexity, admin/support difficulty, upgrade code, imageblock code, item copy/move code, slow speed. In the end there had to be a trade off, Per-item permissions lost. it has been dropped and as you discovered there is at lease one workaround.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2009-07-19 04:31

I would like to propose improved version of bb2html function used in import
Also can we make it a core function available from anywhere, may be as part of HTML purifier

a) added support for o, img with alt text, mail, center, class, list
b) added nl2br normalization
c) <, > replaced with &lt;, &gt;
d) &amp;quot; replaced with &quot;
e) removed use of <font>, <span> is used instead
f) added "alt" to image declaration for W3C validation
g) fixed bug in {color}, and {ul} definitions
e) stops slashing, useful when pulling from db

function bb2html($text)	{

  static $bbcode_mappings = array(
    "#\\[b\\](.*?)\\[/b\\]#" => "<strong>$1</strong>",
    "#\\[i\\](.*?)\\[/i\\]#" => "<em>$1</em>",
    "#\\[u\\](.*?)\\[/u\\]#" => "<u>$1</u>",
    "#\\[s\\](.*?)\\[/s\\]#" => "<strike>$1</strike>",
    "#\\[o\\](.*?)\\[/o\\]#" => "<overline>$1</overline>",
    "#\\[url\\](.*?)\[/url\\]#" => "<a href=\"$1\">$1</a>",
    "#\\[url=(.*?)\\](.*?)\[/url\\]#" => "<a href=\"$1\" target=\"_blank\">$2</a>",
    "#\\[mail=(.*?)\\](.*?)\[/mail\\]#" => "<a href=\"mailto:$1\" target=\"_blank\">$2</a>",
    "#\\[img\\](.*?)\\[/img\\]#" => "<img src=\"$1\" alt=\"\" />",
    "#\\[img=(.*?)\\](.*?)\[/img\\]#" => "<img src=\"$1\" alt=\"$2\" />",
    "#\\[quote\\](.*?)\\[/quote\\]#" => "<blockquote><p>$1</p></blockquote>",
    "#\\[code\\](.*?)\\[/code\\]#" => "<pre>$1</pre>",
    "#\\[ size=([^\\[]*)\\]([^\\[]*)\\[/size\\]#" => "<span style=\"font-size: $1;\">$2</span>",
    "#\\[ color=([^\\[]*)\\]([^\\[]*)\\[/color\\]#" => "<span style=\"color: $1;\">$2</span>",
    "#\\[class=([^\\[]*)\\]([^\\[]*)\\[/class\\]#" => "<span class=\"$1\">$2</span>",
    "#\\[center\\](.*?)\\[/center\\]#" => "<div style=\"text-align: center;\">$1</div>",
    "#\\[ list\\](.*?)\\[/list\\]#" => "<ul>$1</ul>",
    "#\\[ul\\](.*?)\\[/ul\\]#" => "<ul>$1</ul>",
    "#\\[li\\](.*?)\\[/li\\]#" => "<li>$1</li>",
  );

  // Replace any html brackets with HTML Entities to prevent executing HTML or script 
  // Don't use strip_tags here because it breaks [url] search by replacing & with amp 
  $newtext = str_replace("<", "&lt;", $text); 
  $newtext = str_replace(">", "&gt;", $newtext); 
  $newtext = str_replace("&amp;quot;", "&quot;", $newtext); 

  // Convert new line chars to html <br /> tags 
  $newtext = nl2br($newtext);  

  if (strpos($text, "[") !== false) {
    $newtext = preg_replace(array_keys($bbcode_mappings), array_values($bbcode_mappings), $newtext);
  }
  
  $newtext = stripslashes($newtext);  //stops slashing, useful when pulling from db
  return $newtext;
}

Note: extra spaces need to be removed in size, color, and list rule declaration as they are placed here for format only

 
pinn8

Joined: 2009-02-19
Posts: 74
Posted: Sun, 2009-07-19 14:06

I believe I have a resolution to ticket #438. I have spent far more time trying to merge these into Git than it took me to come up with the solution, so I thought I would post the fix here so it could be implemented faster. If you add the following 2 lines to the file modules/exif/helpers/exif.php (I put them at lines 135-136), all images added from that point forward that have GPS tags in them will have their GPS tags stored in the DB and visible in the pop-up EXIF box.

Once they are there, they can be used by module developers (perhaps for a geotagging module).

"Latitude" => array("GPS", "Latitude", t("GPS: Latitude"), ),
"Longitude" => array("GPS", "Longitude", t("GPS: Longitude"), ),

 
yeahy

Joined: 2008-11-07
Posts: 69
Posted: Sun, 2009-07-19 20:54

Beta2 is great. Install is smooth. My G2.3 is integrated with phpbb. The import from g2 works great. My 3000 images in g2 were successfully imported to G3. A little issue : In g2, both image and album thumbs are square. After import to g3, image thumbs are still square while album thumbs changed to origin photo aspect ratio. Images thumbs in album page are square while image thumbs in image block are NOT square. Is it an issue related with square thumb or related import from g2?

I moved the gmaps module in g3 alpha2 version to beta2 and have a test. After that, when I tried to delete the module, I didn't find the delete function in module management panel. So I deleted the record in table [modules] and delete the files. It works but is it OK?

A similar case is that I didn't find how to delete an updated translation of a word (the word has been yellow-green highlighted already ). So I deleted in database. It works also but is it OK?

 
yeahy

Joined: 2008-11-07
Posts: 69
Posted: Sun, 2009-07-19 20:45

A small bug: when the description text of a image is over 2000 charactors, in the album page which should show the thumb and the description, only the text is visible and the thumb is NOT visible.