HTML templates: what are the IPTC/EXIF tags ?

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

Moderators: helmut, XnTriq, xnview

Post Reply
kefir_sub
Posts: 23
Joined: Thu Oct 27, 2005 6:57 am

HTML templates: what are the IPTC/EXIF tags ?

Post by kefir_sub »

Hello, I have searched for the answer of the forum and the web but haven't found it so let me ask this question:

Is it possible to customize html templates (thumb.html, page.html) so that I can explicitly use IPTC and EXIF tags in them? If so, what are the codes for these tags?

At the moment it seems to me that the only way to do it is by "Show information" field in "Web page creation" (#PIC_TEXT#). But what if I want to have IPTC "Keywords" tag in thumbnails and "Caption" in photos? The only way to do it is by allowing the codes/variables to be used in html templates. Irfanview has had this super useful feature ($tags) for a long time now, and it works very well.

Can I do that in XnView?

Another quick question: "Quality" field in "Web page creation" screen. Does it refer to thumbs, resized photos or both?

Thanks,
Kefir
Olive
Posts: 215
Joined: Wed Oct 06, 2004 9:18 pm
Location: Marseille
Contact:

Post by Olive »

To thumbs only I think.

As for different displayed information in thumbs/page.html I'm afraid it's currently not possible, maybe using javascript such as:
"if page address contains thumbs.html then show lines x and y, else show lines x and z". If you don't know how to and nobody else does it I'll try and update at least my minimalist Silver theme with a configurable script, when I've got the time that is :)
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: HTML templates: what are the IPTC/EXIF tags ?

Post by helmut »

kefir_sub wrote:Hello, I have searched for the answer of the forum and the web but haven't found it so let me ask this question:

Is it possible to customize html templates (thumb.html, page.html) so that I can explicitly use IPTC and EXIF tags in them? If so, what are the codes for these tags?

At the moment it seems to me that the only way to do it is by "Show information" field in "Web page creation" (#PIC_TEXT#). ...
Currently, the field "Show information" is the only way to insert IPTC and EXIF data. There are no placeholders which could be used in the HTML template, yet. I also think that this would be a useful and important enhancement.

See also related topic "XnView/XnView Deluxe vs Exif2htm (Acritum)".
Post Reply