Picture numbers on web pages
Posted: Sat Nov 10, 2012 12:00 pm
On the web pages created by XnView I would like to show the picture sequence number and total number of pictures (i.e. something like: "Picture 5 of 13").
I know that I can set a picture sequence number (#) in the "Information displayed" field on the Wep Page Create panel. This information can then be inserted into the web page by using the variable #PIC_TEXT# in the HTML-model (page.html).
However, I use this field (and variable) for displaying an image description (<IPTC:Headline>) in bold and colorful letters on top of the picture.
The sequence numbering I would prefer to show at the bottom in small, unobtrusive letters. For this purpose I would need two variables (e.g. #PIC_NUMBER# and #TOTAL_NUMBER#) which I can place into my HTML-model-code.
Example of a (simplified) HTML-model for what I want to achieve:
<table>
<tr><td>#PIC_TEXT#</td></tr>
<tr><td><img src="#PIC_LINK#"></td></tr>
<tr><td>Picture #PIC_NUMBER# of #TOTAL_NUMBER#</td></tr>
</table>
would display:
the IPTC headline
the image
Picture 5 of 13
Question:
Are such variables available and I know nothing about it?
Or could they be provided in a future release of XnView?
Where is a list of the variables which are currently available?
Regards
I know that I can set a picture sequence number (#) in the "Information displayed" field on the Wep Page Create panel. This information can then be inserted into the web page by using the variable #PIC_TEXT# in the HTML-model (page.html).
However, I use this field (and variable) for displaying an image description (<IPTC:Headline>) in bold and colorful letters on top of the picture.
The sequence numbering I would prefer to show at the bottom in small, unobtrusive letters. For this purpose I would need two variables (e.g. #PIC_NUMBER# and #TOTAL_NUMBER#) which I can place into my HTML-model-code.
Example of a (simplified) HTML-model for what I want to achieve:
<table>
<tr><td>#PIC_TEXT#</td></tr>
<tr><td><img src="#PIC_LINK#"></td></tr>
<tr><td>Picture #PIC_NUMBER# of #TOTAL_NUMBER#</td></tr>
</table>
would display:
the IPTC headline
the image
Picture 5 of 13
Question:
Are such variables available and I know nothing about it?
Or could they be provided in a future release of XnView?
Where is a list of the variables which are currently available?
Regards