Exclude empty fields in thumbnail labels

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

trance
Posts: 23
Joined: Tue Dec 07, 2021 8:35 pm

Exclude empty fields in thumbnail labels

Post by trance »

I use custom thumbnail label: "<Focal Length>mm f/<F-Number> <Exposure Time>s <ISO Value>iso".
when image has Exif, i get: "5.4mm f/1.9 1/50s 346 iso".
when image hasn't EXIF, i get: "mm f/ s iso".
these useless "mm's" is not useful.
i want an empty string instead of these "mm's".

it would be good to exclude empty fields.
like [?<Focal Length>mm] or <<Focal Length>mm> so if "focal length" is not empty, it should return "<Focal Length>mm", if it's empty, it should return empty string.