How to display Extra\Prompt in different views?

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Koogle
Posts: 150
Joined: Wed Sep 20, 2006 3:23 pm

Re: How to display Extra\Prompt in different views?

Post by Koogle »

how goes it?
User avatar
xnview
Author of XnView
Posts: 44616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to display Extra\Prompt in different views?

Post by xnview »

Koogle wrote: Thu Mar 07, 2024 9:06 pmhow goes it?
will be fixed
Pierre.
Shapedesign
Posts: 1
Joined: Mon Mar 11, 2024 5:04 am

Re: How to display Extra\Prompt in different views?

Post by Shapedesign »

Looking forward to being able to easily see Stable diffusion info.

Would it be possible to filter based on words in the prompt/parameters?

I generate a lot of images I use combinations of wildcards, I'd like to be able to find images with similar prompts.
User avatar
xnview
Author of XnView
Posts: 44616
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to display Extra\Prompt in different views?

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.7.0. Please check and confirm the bug fix here.
Pierre.
EricRollei
Posts: 11
Joined: Sat Jul 29, 2023 6:01 pm

Re: How to display Extra\Prompt in different views?

Post by EricRollei »

Hi Pierre,
I've got MP 1.71
I can always see the extra data in the view but I'm not sure how to set up a display view the prompt, steps, etc when just toggling through a folder of images. I'm sure there is a way to customize my views such that the fields I'm interested in can be always displayed but I don't know how.

Recently I wrote a custom node to save the images with an xmp sidecar also that can store valuable information such as keywords, positive prompt, negative prompt, project, etc. And now that we can integrate AI vision models to ComfyUI, I can have a local LLM with Llava generate keywords for the image that was created before being saved. This would be a huge timesaver to be able to search a catalog of files by keyword too.

I can view the .xmp files in XnView and the information is there. I think there maybe a better way to integrate that with XnView? I used the xmp fields that were already there, but I could also create my own fields - prompt, keywords, etc. It would be so cool to have the xmp sidecar be taken in by XnView and map the keywords to the XnView categories.

Hope you are well,
Regards,
Eric
You do not have the required permissions to view the files attached to this post.
EricRollei
Posts: 11
Joined: Sat Jul 29, 2023 6:01 pm

Re: How to display Extra\Prompt in different views?

Post by EricRollei »

I made a little progress with my ComfyUI node so now it displays just the information I select in the extra field. See the picture. Image
But how can I search for something in the Extras? It seems like the search only works for the filename. But it would be awesome to be able to find images by keyword or anything in I save to the extras.

Lastly, a big idea ... but integration with one of the LLava or AI vision models to XnView would be so amazing. A person who has a huge collection of images could have the AI go through and keyword them all - or save keywords to an xmp sidecar. Then they could search by anything - woman, portrait, hat, cat, ... whatever.
You do not have the required permissions to view the files attached to this post.
User avatar
michel038
XnThusiast
Posts: 1382
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: How to display Extra\Prompt in different views?

Post by michel038 »

This would be a huge timesaver to be able to search a catalog of files by keyword too.
- "Quick filter" is a field located at the top of the thumbnails view in the browser.
Corresponding settings are in Settings>Browser> Quick filter
It can work with (only IPTC) fmetadata, and categories.
But "categories" are the image of keywords previously imported in the database (= catalog) , so Quick filter will be able to find categories = keywords

- With the "Catalog filter" pane, you can also search for categories (Ctrl click to select many categories, Alt click to exclude) so files containing these keywords will be found. (see also the "Match" menu at the top of this pane)

- A 3rd way is to use Tools>Search ...

*** But you must first import your photo folders, containing xmp keywords, into the catalog :

Settings>Metatdata > ... tick "Import..." option (and some other options perhaps)
Settings>Catalog> ... use "Import folder" button
m0ch4
Posts: 1
Joined: Wed Jul 24, 2024 1:01 am

Re: How to display Extra\Prompt in different views?

Post by m0ch4 »

Hello, I'm a ComfyUI user. I'd also like a simple search feature (in Quick Filter) for any text in the Extra section. I believe this addition would be immensely helpful for many of us.
EricRollei
Posts: 11
Joined: Sat Jul 29, 2023 6:01 pm

Re: How to display Extra\Prompt in different views?

Post by EricRollei »

I'll be publishing my save for XnView node on GitHub soon.
I agree that it would be awesome to search/filter for things in the extras. I didn't understand why the files need to be imported in order to do this. Currently XnView can find anything in the file name quite fast without importing.