Logo in HTML-header
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Mon Dec 07, 2020 12:57 pm
Logo in HTML-header
How do I add a logo (c-logo.png) to HTML5 output?
When using the 'DITA Map HTML5' - transformation to create HTML-output, I am able to create a custom-header with text, but I am unable to reference a logo.
Which folder should I put my 'c-logo.png' so that it's 'transfered' to the 'out-folder', and it can be referenced in the header.xml-file?
The html seems expecting the file under 'out/html5/topics' ...
Thanks for your help!
When using the 'DITA Map HTML5' - transformation to create HTML-output, I am able to create a custom-header with text, but I am unable to reference a logo.
Which folder should I put my 'c-logo.png' so that it's 'transfered' to the 'out-folder', and it can be referenced in the header.xml-file?
The html seems expecting the file under 'out/html5/topics' ...
Thanks for your help!
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Logo in HTML-header
Hi,
One option would be to have the logo image embedded in the header with base 64 encoding.
Other than that maybe you can copy the image in the "topics" folder near the topics and refer to it in the DITA Map using something like:
That "resource-only" means that the HTML table of contents will not contain a reference to the image but the image should be copied to the output folder.
Regards,
Radu
One option would be to have the logo image embedded in the header with base 64 encoding.
Other than that maybe you can copy the image in the "topics" folder near the topics and refer to it in the DITA Map using something like:
Code: Select all
<topicref href="topics/image.png" format="png" processing-role="resource-only"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service