Home Forums DITA and XMetaL Discussion WebHelp: Including an image in the footer Reply To: WebHelp: Including an image in the footer

Derek Read

Reply to: WebHelp: Including an image in the footer

The path is relative in my example and will need to resolve as such. In my example it is in the same folder as the file referencing it.

If your topic files are all in the same folder on input then they will all be in the same folder on output and you can put that image in the same folder and use that path. If not, and they end up in different folders then most websites would probably organize things in the following way:

http://website.com/folder1/sometopic.html  [contains your footer]
http://website.com/folder2/sometopic.html  [contains your footer]
http://website.com/images/xyzcompanylogo.jpg

Then the path would be this for all files:
src="../images/xyzcompanylogo.jpg"

Generally best practice to use a relative path so you can move web pages around rather than having src=”http://website.com/images/xyzcompanylogo.jpg”

Reply

Products
Downloads
Support