Page 1 of 1

Tag for image description in create webpage

Posted: Mon May 23, 2005 8:03 am
by VWMorten
I need to assign some text to my images, and then later on be able to create a simple webpage comtaining thumpnails of the images, the filename and the text for each image.

I have tried to rightclick on the image in the imagebrowser, choose "description" and adding the text here wich seems perfekt, but I cannot get the text out under the thumpnail when I create the webpage.

I have added these tags, but every one of them comes out empty, even when there is text assigned to the image in the "Description"-field:
<Comment>
<User Comment>
<IPTC:Caption>
<Image Description>
<Description>

What is the correct tag? (is there an overview of all the tags somewhere?)

Thanks for any help..

btw: I use XnView 1.74

VWMorten
Copenhagen

A trick

Posted: Tue May 24, 2005 2:08 pm
by Clo
:) Hello !
- It's possible to add a hint-text in the *.HTML file itself. For each thumbnail, you can add a TITLE="my_text" attribute, as well in the <A HREF=… as in the <IMG SRC="path/image.xxx"> tag.
You can even get a line wrapping if the text is pretty long, for example:

Code: Select all

TITLE="This is a photo of my cat& #10;& #13;when he fell in the pool at my neighbour's&# 10;&# 13;attempting to catch the fishes!"
which'll look as:
This is a photo of my cat
when he fell in the pool at my neighbour's
attempting to catch the fishes!


- Note : do not write the extra-spaces in the LF and CR coded characters #10 and #13; I'm bound to add spaces here, or else they work as they would, and are invisible !
Even Notepad does the trick to add such a text…

:mrgreen: Kind regards,
Claude
Clo

Problem solved, new problem found...

Posted: Wed May 25, 2005 7:52 am
by VWMorten
Hi Thanks for the reply..

It is not the HTML-tags that I was looking for, but the "tags" that you can put into the "information displayed"-window in the "webpage create" dialog box.

Anyway i found it: it was the "<annotation>"-tag I was looking for, it puts the information that i have assigned to each image as description, right under the image in the resulting webpage - very nice..

My next problem is that when I move the images to another folder, the description gets erased..?? - is there any solution for that..??

VWMorten
Copenhagen