Reordering images files in Tropy

That promise did not age well, I’m afraid. This has not landed in a release yet, and I’ll refrain from making further promises beyond that this is going to be addressed.

1 Like

I have the same problem. Importing tonnes of images extracted from bundled PDFs name that are then sorted in the grid view as.

cwgc_file26 (1).jpeg
cwgc_file26 (10).jpeg
cwgc_file26 (11).jpeg
cwgc_file26 (12).jpeg

cwgc_file26 (19).jpeg
cwgc_file26 (2).jpeg
cwgc_file26 (20).jpeg
cwgc_file26 (21).jpeg

Anybody found a workaround?

When I rank them by the ‘box’ or ‘source’ column it usually reinstates the original order of the PDF, you may want to give it a try…

For those who are batch renaming files before importing to Tropy, I suggest you install Microsoft PowerToys and then use PowerRename to have better control of how file names should look like. PowerToys is an incredible pack of apps, kind of life changing for me.

edit: obviously, this only applies to Windows users.

1 Like

PowerToys is indeed amazing. For this task, the Bulk Rename Utility is great too.

Hi there!
Is there any news about the ability to reorder within the list by dragging? I mistakenly merged two photos and now undoing doesn’t recovered it within the original order. This is why “date added” or “source” column doesn’t restore the original order. Is there any other things I can try?

An option for allowing the user to generate their own order to the list would be to add another column for the user to enter a number by hand instead of automatically, which I was looking for when I first started to use Trophy, and that is very recent.

If you ‘undo’ the merge action, the original date added columns should be restored. If you exploded the merged item, that would create a new item with a new creation time, I suspect this is what happened in your case.

You can sort by any metadata column, so you can pick any metadata field and enter your own dates there and use that for sorting.

1 Like

Hi inukshuk,
I use multiple dates in my collection and I don’t want to introduce a fictional one.
So I picked another metadata field and began to give numbers to the items, only to discover that the ordering is lexicographical and not natural sort order. I am not very versed in metadata types. How shall I proceed to order the items in this list? Any suggestions would be welcome.

Yes, this is a long-standing issue. Unfortunately, SQLite does not have built-in support for natural sort order. Without going into too much detail here, we have a solution for this in the drawer, but it’s been blocked by another issue that we haven’t addressed yet. I hope we’ll finally land it this year.

In the meantime, a workaround would be to ensure all numbers have the same length, e.g., 001, 002 and so forth.

1 Like