Gallery 3.0 Beta 2 Feedback
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
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. |
|
Ser Moro
![]()
Joined: 2007-12-08
Posts: 79 |
![]() |
Thank you. |
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 722 |
![]() |
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" Attempting to investigate now, although although my var/logs folder is empty so this'll probably take some time to figure out... Edit: |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
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. |
|
ShizzlePDX503
Joined: 2005-12-02
Posts: 6 |
![]() |
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 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
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
What was the reason to combine JS/CSS? |
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 722 |
![]() |
rWatcher wrote:
Edit: 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: 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 { Quote:
#gViewMenu #gSlideshowLink { 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: |
|
jezmck
![]()
Joined: 2009-02-27
Posts: 27 |
![]() |
The upgrade process was perfect - well done, and thanks! However: Is it no longer possible to Add from Server a whole directory? 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 |
![]() |
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
![]()
Joined: 2009-02-27
Posts: 27 |
![]() |
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
![]()
Joined: 2009-02-27
Posts: 27 |
![]() |
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 |
![]() |
Weird. The .htaccess file didn't get replaced when copying over the Beta2 stuff to my Beta1 directory. Anyway, now works fine; thanks. |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
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) 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 |
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 722 |
![]() |
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
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
rWatcher, try this fix: http://gallery.menalto.com/node/88980#comment-313504 Again guys, G3 is not supported on Windows. |
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 722 |
![]() |
nivekiam wrote:
rWatcher, try this fix: http://gallery.menalto.com/node/88980#comment-313504 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
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
@rWatcher: What you're seeing is that URLs that are mangled in a Windows specific way work fine on a Windows based browser. @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? |
|
jezmck
![]()
Joined: 2009-02-27
Posts: 27 |
![]() |
LoneShepherd wrote:
Weird. The .htaccess file didn't get replaced when copying over the Beta2 stuff to my Beta1 directory. As a hidden 'dotfile' it won't be copied by default in *nix. bharat wrote:
... 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. |
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 722 |
![]() |
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 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. Ah, thanks. IE being the only browser to work makes sense now |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
@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). Looking at the file, nothing else done much. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
@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 @jezmck: there is a spinner when it's loading folders. I'm not sure why it's not appearing for you. |
|
Bigda
Joined: 2009-06-23
Posts: 29 |
![]() |
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 |
![]() |
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
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
@bharat: yes, granted you may have more experience with that then me I think we are talking apples and oranges here 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
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
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: I agree with you that there needs to be a 'switch' to turn it off for development. Dave _____________________________________________ |
|
chrismc
Joined: 2009-07-16
Posts: 3 |
![]() |
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: Quote:
Dang... Something went wrong! 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
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
@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? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
My XML Minislideshow now works with G3 @bharat install went without a hitch, Imagemagick and ffmpeg detected normally (/usr/local/bin/) thanks! -s |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
There is an example using G3 on the embed-o-rator page. -s |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
There is a gzip mod for htaccess file which makes firebug happier <IfModule mod_deflate.c> # removes some bugs Header append Vary User-Agent env=!dont-vary |
|
chrismc
Joined: 2009-07-16
Posts: 3 |
![]() |
bharat wrote:
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 |
![]() |
@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 |
![]() |
@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
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
@bharat: logic of forcing combined CSS/JS is not optional Another thing, there is no minimal theme based just page.html.php. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
@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 --- |
|
alexandreracine
Joined: 2005-06-16
Posts: 39 |
![]() |
Comments... 1-Upgrader went well. ya! 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. Real bugs 20-The slideshow module does not work with album that contain accents ("é"). Alexandre Racine |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
10-> that could be done with a custom theme. 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. Dave |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
> > 12-"Start translating" is not translated by the way ;) please don't file a bug. the "start translating" message is internationalized already. all that is missing is a translation to your language (French?). |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Sure the message is internationalized, but once you click the 'start translating" it becomes 'stop translating". Dave |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
@floridave: 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 |
![]() |
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 |
![]() |
valiant wrote:
@floridave: @floridave @valiant @floridave I'll wait for the next version for the other stuff. Alexandre Racine |
|
sono
Joined: 2009-07-18
Posts: 1 |
![]() |
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
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
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 ____________________________________________ |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
@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 |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
I would like to propose improved version of bb2html function used in import a) added support for o, img with alt text, mail, center, class, list 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("<", "<", $text); $newtext = str_replace(">", ">", $newtext); $newtext = str_replace("&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 |
![]() |
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"), ), |
|
yeahy
Joined: 2008-11-07
Posts: 69 |
![]() |
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 |
![]() |
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. |
|