Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Exportword.vm, attempted to include images in template, missing in word doc

Dan Hurst June 9, 2017

I've been editing the exportword.vm template to match our companies look/feel for exported docuemnts, have successfully created a MSWord header/footer in css/html, so but am having trouble attaching a default logo to the header (or the body for that matter).  have tried just dumping some images to the logo directory and point to that: 

<img src="/images/logo/supplier.logo" alt="logo" />

That results in a blank image.  So followed the guidance from another how to page, and pasted my logo into another page, saved it, and got the id of the page from properties, ending up with: 

<img src="/download/attachments/42074119/supplier.png"/>

Again, no luck, image placeholder is in the resulting word doc, but is blank. The actual images in the exported doc are all present, its just the extra images that I want to place in the headers that are not linking/opening.  I've got a feeling that this open ticket may well be the cause: 

https://jira.atlassian.com/browse/CONFSERVER-34211

 

<div class="Section1">

<div style='mso-element:header' id=h1 > <!-- HEADER-tags --> <p class=MsoHeader ></p> <img src="/download/attachments/42074119/supplier.png"/>

<!-- end HEADER-tags --> </div>

<h1>$!page.title</h1>

$renderedPageContent

etc...

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events