Skip to content

REQ: Adjust order in which images are manipulated #1

@fishd72

Description

@fishd72

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions