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
Picture numbers on web pages
Moderators: helmut, XnTriq, xnview
Re: Picture numbers on web pages
I don't think so.klapperstorch wrote:Are such variables available and I know nothing about it?
klapperstorch wrote:Where is a list of the variables which are currently available?
- klapperstorch
- Posts: 50
- Joined: Fri Jan 26, 2007 8:43 am
Re: Picture numbers on web pages
Thanks,
The second link (http://newsgroup.xnview.com/viewtopic.p ... 797#p44797) might be of some help.
There Pierre says: Et sinon vous avez accès à tous les tags reconnus par xnview comme #<IPTC:Caption>#
I think I'll try this:
<table>
<tr><td>#<IPTC:Headline>#</td></tr>
<tr><td><img src="#PIC_LINK#"></td></tr>
<tr><td>#PIC_TEXT#</td></tr>
</table>
and specify in the "Information displayed" field of the Wep Page Create panel:
"Picture # of 13"
which will then be available in #PIC_TEXT#.
Regards
The second link (http://newsgroup.xnview.com/viewtopic.p ... 797#p44797) might be of some help.
There Pierre says: Et sinon vous avez accès à tous les tags reconnus par xnview comme #<IPTC:Caption>#
I think I'll try this:
<table>
<tr><td>#<IPTC:Headline>#</td></tr>
<tr><td><img src="#PIC_LINK#"></td></tr>
<tr><td>#PIC_TEXT#</td></tr>
</table>
and specify in the "Information displayed" field of the Wep Page Create panel:
"Picture # of 13"
which will then be available in #PIC_TEXT#.
Regards