i downloaded and tested the last CVS just a couple of mins ago...
strange problems happens:
in Site Admin > Toolkit Priority
if I click up or down, the order comes back as default: gd, then imagemagick, then netpbm. No way to put netpbm as first.
I had to deactivate gd and imagemagick to do that. odd, isn't it?
Various problems/usability suggestions:
- trying to upload using gallery remote: i get this error:Error: Server contacted, but Gallery not found at this URL
- edit album: suggestion: what about doing javascript tabs like the ones of the g1 setup wizard, i mean that they remember what you type in the fields without the need to click "save" all the time? another example: like gmail: very fast interface, you can go from one tab to another and when you are done you click "save". Actually you need to click "save" for each tab.
- import module: suggestion: for the Set description from field, there should be already a ticked option called "Description". As it's like now, it works if you select "Custom field" and you add "Description", but i think that lots of users would forget to do that when migrating from G1 to G2, resulting to lose all their descriptions...
- reorder/rearrange: the rearrange tool is very useful and nice... but i don't see options to automatically rearrange alphabetically, cronologically (by EXIF data or by upload date), by file name, file caption, asending/descending etc.: i guess this is not a priority for now and it will be implemented in the future? am i right? ;)
- edited post (trivial problem: solved installing invision power file manager) how can i delete files created by g2 if they are chmodded 755? Should i install an external tool like "Invision Power File Manager" or is there an easier way? Because I had to rename some folders and now I have to get rid of them...
I'm actually testing G2 and I'll put more results as soon as I get them. I guess in a new post, this one has been edited too many times ;)
Posts: 3236
In site admin, you should find the following with some drop down boxes for file permissions. If you don't like 755 / 644 you could try 777 / 666
Posts: 99
as you quoted well:
when you install g2 and set the g2data folder, it'll create several subfolders, which are chmodded 755...
i tried also the /lib/tools/test various erasers... but they keeps these empty folders.
that's why i asked if there is a way different than installing a web file manager like "Invision Power File Manager" to remove these folders...
Posts: 3236
Oh, I guess I didn't understand what you mean. If your host runs the web server as a user other than the one you log in with FTP, you are going to be forced into a limited number of ways of dealing with it. Its possible (but not likely) that you can use FTP to simply chmod the dir to 777. Doubtful though, since it will be owned by the webserver. You could ask your host to chown/chmod/delete them... or I guess you are stuck with a web based file management system. Something as simple as a php command that executes an "rm /exact/path/to/g2data/dir" would work, but could be... dangerous if you get the path wrong
Asside from uninstalling it, what would be the point of deleting those directories?
Posts: 99
fryfrog: i managed to clean the mess that i created (too long to explain) with invision power file manager.
i edited my post several times, as i advanced my g2 test. i think i discovered a couple of interesting usability issues, like the one of the tabs in the edit albums. an improvement there would make the users feel that g2 is much more powerful and faster than g1 ;)
but i guess it's not that easy to program such an interface: it would be a mix of javascript + use of sessions, is it?
Posts: 32509
firepol, if you find bugs or usability issues or just wish a certain feature was in G2, please file the bug report / RFE on http://sf.net/projects/gallery/, thanks.
Posts: 99
ok valiant, i'll do that... just i remember the discussion i had last time with bharat (and with you, if i remember well): that it was better to discuss issues on the forum before adding them to the RTE... but if you say so, i'll file them at once ;)
Posts: 32509
i guess most devs concentrate on getting G2 ready for beta ATM. i just want that these usability issues / suggestions don't get forgotten. so, adding them to sf.net won't be a bad idea.
Posts: 8601
i agree with both of you.. good to discuss issues in forums, but no one likely to work on these now.
toolkit priority- i can't reproduce.
GR- many people have reported problems with GR or applet recently.. i don't think anyone is working on this.
edit album tabs all loaded to browser at once- not a high priority
import description- good idea
rearrange- is for setting manual order; automatic orders are in edit album / Album tab
delete files- see FAQ
Posts: 99
mindless
ok, the import description feature has been filed: http://sourceforge.net/tracker/index.php?func=detail&aid=1152712&group_id=7130&atid=357130
about the automatic order, which FAQ are you referring to? i only found this FAQ: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=21599&postdays=0&postorder=asc&start=0
it doesn't include more information.
i tried as you told: but the sorted pictures aren't sorted as it is supposed to be.
i'd like to sort pictures, descending, from the newer one to the older one, by EXIF data. it works partially: i have pictures with names such as DSCN7742.JPG (7742, 7743 etc.) and ESCN2211.JPG (2212, 2213 etc.).
i tried both the options creation date and origination date (what should be the difference?) and i get the same result:
http://www.pbworks.net/gallery2/main.php/v/dagangstapump/ (quite stupid album, but as example it works as you can clearly see the EXIF date and time, and the resulting order).
as you can see i get the pictures ordered cronologically, but also grouped alphabetically.
i get (startin from the bottom) first the DSCN series, then the ESCN series, then the first picture (that has no exif data).
the correct output, that i was expecting, should be:
(i don't care about the filename) sort pitures descending, by EXIF date. so the result should be "mixed", i shouldn't get ESCN and DSCN grouped together but i should get them correctly ordered by date.
Posts: 8601
you want sort by descending origination date.
origination date is the date the item was captured (photo taken, movie filmed, document written, etc).. this field is automitically set from EXIF data at the time the item is uploaded; it can also be manually editing in edit item / general.
i don't see why you conclude it isn't working.. all the photos in that album have the same date; it's sorting by timestamp, so the order you see is also determined by the exact time but it isn't displaying that (you can see it in edit item / general though)
Posts: 99
i created an album with only 6 pictures, just to make it simpler:
http://www.pbworks.net/gallery2/main.php/v/example/
i edited the album and ordered "descending origination date".
look at the first picture: http://www.pbworks.net/gallery2/main.php/v/example/Escn2581.jpg.html
Date/Time: 2005:02:17 18:38:44
look at the third picture: http://www.pbworks.net/gallery2/main.php/v/example/DSCN7750.jpg.html
2005:02:25 19:47:22
look at the last one:
http://www.pbworks.net/gallery2/main.php/v/example/DSCN7744.jpg.html
2005:02:07 19:31:52
As you see, the originating dates are not all the saem, as you stated. Only the upload date are all the same (obiously, as i uplaoded all of them at once).
The first 2 pictures are in the wrong place, and as i tried to explain you before, my hypothesis is that G2 orders by date, but alos GROUPs by filename. As the first 2 pictures filenames are beginning with "E", and all the rest begin with letter "D".
The correct behaviour should be to order by date. stop. no grouping by filename.
The first 2 pictures, I mean:
http://www.pbworks.net/gallery2/main.php/d/59-2/Escn2581.jpg
and
http://www.pbworks.net/gallery2/main.php/v/example/Escn2579.jpg.html
are wrongly placed, they should be in the middle, just after the "(25 feb)" pix and before the "beginning" ones.
That's why I concluded that it doesn't work correctly.
Do you see what I mean?
Is this as bug to be filed?
Posts: 8601
i doubt there's anything wrong with the sorting.
if you do edit photo / General tab I think you'll find the values in the origination timestamp field are sorted correctly. looks more like the field didn't get populated correctly from EXIF data when you uploaded the photos.. see in the album view how they all say feb 25, though the EXIF date for some is not that date.
try uploading some photos and see if the origination timestamp gets set correctly. do you upload with Gallery Remote? i'm not sure if that process works via GR.. i'd have to check the code.
Posts: 99
You are right, the originating date has not been correctly extracted from the EXIF data, thats why it didn't sort the pictures correctly.
I uploaded the pictures using Gallery Remote (to G1) then I imported the album from G1 to G2.
With Gallery Remote (with Imagemagick preoperly installed), by the way, I used the option to resize the pictures before uploading (as i don't keep an intermediate version). You pointed well your finger at GR. I think you are right, GR didn't do the job correctly, so this is probably a GR bug...
I updated my cvs version to the last (i see beta, wow) and I uploaded some pics with the form, then with a zip, and the creation date has been correctly taken from the EXIF...
I uploaded the pictures with the Upload Applet and the creation date was also taken correctly from the EXIF data.
When the creation date is correct, then i order by creatino date descending and the order is correct. So at least we understood from this discussion that the problem is the fillin of the "creation date" field
So I guess I should investigate also in my G1 installation this behaviour...
The problem is also that when I'll import my pictures from my G1 installation, the import tool won't fill the creation date correctly. So at the end it's not only GR with the problem, but also the import tool. The import tool should have the smart functionality to import pictures and to take as creation date the EXIF one.
What do you think?
Posts: 8601
creation date is always when the G2 item was created.
when you import from G1 it will populate the origination date with the date on the G1 item (you can edit this date in G1 in "edit text" popup).
Posts: 99
Sorry, in my last post i confused the creation and the origination date
The one I mean is the capture date (EXIF data), so the origination date.
I upgraded G2 by cvs on www.pbworks.net and I tried again the import tool.
I finally found the problem: the import tool takes as origination date (the one called "Photo Date and Time" when you click "edit photo" in G2) the "File date" instead of the EXIF "Date/Time" shown in "photo properties" in G1.
To "edit text" in G1 for each picture isn't an option, would you suggest to do so for someone importing 1000 pictures, to edit each one of them?
It's even useless, as the import tool takes the file date.
Suggestion of improvement for the import tool: The import tool should take the Date/Time instead of the File Date, or the should be an option, when importing, called:
"Use the original capture date and time from file information (e.g. Exif tag) for the Photo Date and Time."
So that all imported pictures will have the origination date taken from the EXIF data instead of the G1 Photo properties file date...
Posts: 8601
no, import doesn't use the item marked "File Date" in G1. it uses the date labeled "Item Capture Date" that is shown below the EXIF data in G1. is the data for this value wrong in your G1?
Posts: 99
no, the import tool (at least from my gallery) takes the date below: the "File Date"... and this is -according to me- a wrong behaviour. the filedate is useless, as the filedate can change if you edit a picture (when you resize it etc.) what matters is the EXIF date, usually. which is the real capture date.
if you think this is a right behaviour, then well, it's a different opinion, but i think there should be at least an option so that people could select which date to take, when importing.
Posts: 8601
maybe you should post what you see for File Date, Date/Time, Item Capture Date in G1 for a photo, and what you get for origination timestamp in G2.
Posts: 99
G1: http://www.pbworks.net/gallery/nucleo_torricella
imported in G2: http://www.pbworks.net/gallery2/main.php/v/nucleo_torricella/
Photo properties in G1:
http://www.pbworks.net/gallery/nucleo_torricella/Torricella_Nucleo_Vecchio_Dscn7759
File size : 90175 bytes
File date : 2005:03:03 20:01:25
Camera make : NIKON
Camera model : E4300
Date/Time : 2005:03:03 13:59:59
Resolution : 600 x 450
Flash used : No (auto)
Focal length : 14.2mm (35mm equivalent: 67mm)
Exposure time : 0.0025 s (1/396)
Aperture : f/3.7
ISO equiv. : 100
Whitebalance : Auto
Metering Mode : matrix
Exposure : program (auto)
Edit text > Photo Capture Date: 2005:03:03 13:59:59
Photo properties in G2:
http://www.pbworks.net/gallery2/main.php/v/nucleo_torricella/Torricella_Nucleo_Vecchio_Dscn7759.jpg.html
Edit Photo > General:
Photo Date and Time: 2005:03:03 20:01:25 = "File Date" field in G1
I'm 100% sure that the import tool (migration module 0.8.6) takes the G1 item filedate instead of the "Photo Capture Date" and I'm ready to file this bug ;) can you confirm?
Posts: 8601
excellent.. an example like this earlier on would have been helpful. anyway, try tomorrow's nightly build.
Posts: 99
well, i tried to explain before... hopefully finally you saw the problem i wanted to show you (it's not that easy explaning, especially because English it's not my native language, but i was not stressed. it was a good communication exercise ;) )
looking forward to see tomorrow's build ;)
Edit1: I checked the new CVS code: problem solved
Posts: 1
Sir!
How we sort date in asending and desending order using button.
please give me a very simple code in PHP
Posts: 32509
> How we sort date in asending and desending order using button.
hos is this question related to this forum topic?
anyway, you can change g2's sort order for album in "site admin -> themes".
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage