hvdwolf / jExifToolGUI

jExifToolGUI is a multi-platform java/Swing graphical frontend for the excellent command-line ExifTool application by Phil Harvey
https://hvdwolf.github.io/jExifToolGUI/
GNU General Public License v3.0
432 stars 37 forks source link

images sorted by... #123

Open jhm102938 opened 3 years ago

jhm102938 commented 3 years ago

Images on the preview pane are (in my setup at least, running under Ubuntu Linux) NOT ordered by date, file name, modification date, or any other characteristic that makes sense or I can think of.

Since my main goal is to add location to images from a camera (which lack GPS) from phone images (with latitude and longitude) that I take on the same location as a reminder, a strict chronological order on the left pane would greatly facilitate my job (i.e. copy from one image, then save to the adjacent ones). Probably not an issue, but this pseudo-random order is driving me crazy.

jhm

hvdwolf commented 3 years ago

How do you open them? If I open multiple images via the file browser, I also have in that (default system) file browser (on Debian buster) the option to sort on name, date, size, etc. So for me they are sorted on date. Note though that the file browser sorts on file date, not on creation date. My Panasonic superzoom FZ82 camera sets my photos in UTC time_date when copying to laptop, and when doing it over WiFi via an internal share it is even more weird.. My phone doesn't do this.

So when I have this combi, I first do an exiftool -v "-DateTimeOriginal>FileModifyDate" -overwrite_original -preserve -r *, or I do this from JTG from the "exiftool command" pane (without the exiftool and -r).

One of my (low prio) todo's is to add two custom buttons where you can add your own exiftool command from your stored exiftool commands (favorites), because I always use above command for my FZ82 images before doing anything else.

jhm102938 commented 3 years ago

Well, I try to keep things simple, so I opened either by clicking on the 'Load Directory' or 'Load Images' buttons. In my system, this invariably results in a messy list of images on the left pane.

After reading your comment, I tried your approach, but to no avail. There were only two sorting options (size and name), but amazingly the result was again a non-ordered list, just like before!

Then I tried something new: to drag the list of images (ordered as I liked on the system file browser; my setup uses Caja, by the way) and drop it directly on jExifToolGUI left pane. BINGO, this way, no matter which order I chose (date of modification, creation, name, size) it is preserved. So hurray, I'm happy!

Many many thanks, I doubt I'd found this solution myself if it were not for your tip

jhm

hvdwolf commented 3 years ago

Thanks for your feedback. I will have a look at it anyway.