Regarding your database image tools I was wondering if it was possible to slightly alter the behaviour?
I've a couple of devices running Invoke and I tend to move between them. As they all have their own local storage, I sometimes need to migrate boards from one device to another.
I've noticed that the usual method of 'download board', 'import as assets', run script to 'convert assets to general images' seems to reverse the order of the images within the board.
So, if I have my board sort order as Newest First, it's actually the oldest image in my imported board that is shown first.
I lazily threw this at an LLM and it suggested that I just needed to modify the function get_images_for_board and change the line return [r[0] for r in rows] to return [r[0] for r in rows][::-1] ... but this doesn't seem to do what it expects (shockingly, I know).
Is there a simple fix for this? tyvm.
Regarding your database image tools I was wondering if it was possible to slightly alter the behaviour?
I've a couple of devices running Invoke and I tend to move between them. As they all have their own local storage, I sometimes need to migrate boards from one device to another.
I've noticed that the usual method of 'download board', 'import as assets', run script to 'convert assets to general images' seems to reverse the order of the images within the board.
So, if I have my board sort order as Newest First, it's actually the oldest image in my imported board that is shown first.
I lazily threw this at an LLM and it suggested that I just needed to modify the function
get_images_for_boardand change the linereturn [r[0] for r in rows]toreturn [r[0] for r in rows][::-1]... but this doesn't seem to do what it expects (shockingly, I know).Is there a simple fix for this? tyvm.