Search…

X3 Photo Gallery Support Forums

Search…
 
foxyphoto
Topic Author
Posts: 5
Joined: 18 Mar 2021, 13:40

Searching by IPTC tags

19 Mar 2021, 06:38

I think that searching for IPTC tags is broken. The search field works for almost every input, like camera model etc., but searching for IPTC tags delivers no results. Am I missing something here?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Searching by IPTC tags  Topic is solved

19 Mar 2021, 11:13

I just checked, and it seems you are right. I just started work on a new Files app update,  and will definitely look into this ...  :thumbsup:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Searching by IPTC tags

08 Nov 2021, 05:33

Files App 0.3.0 now includes the option to filter by IPTC fields. There is a new config option filter_props, by default set to 'name, filetype, mime, features, title', whereas "title" is the IPTC title (objectName). You can also includes any of the following IPTC properties in filter_props: headline, description, creator, credit, copyright, keywords, city, sub-location, province-state.

Keep in mind, additional IPTC filter_props should be assigned with caution. If you for example assign + 'keywords' and 'description', filter will trigger on ANY phrase included in an images keywords or description, which may contain a lot of words and even long sentences. Furthermore, additional filter properties will slow down filtering.