Search
Thursday, August 28, 2008 ..:: Forum ::.. Register  Login
 
  Forum  Programming  General Program...  Image issue with HTML format
Previous Previous
 
Next Next
New Post 1/20/2008 2:26 PM
  david
20 posts
9th Level Poster


Image issue with HTML format 

I am using Windward Reports for generating HTML output. HTML format output has an issue with displaying images which are there in input MSWord Template.
Same input template is working fine for other formats such as PDF and RTF but its not showing image for HTML output.

Here is the code i have used to set response content type :

if (template.getTemplateOutputTypeString().equal("PDF")) {
response.setContentType("application/pdf");
} else if (template.getTemplateOutputTypeString().equals("RTF")) {
response.setContentType("application/msword");
} else if (template.getTemplateOutputTypeString().equals("HTML")) {
response.setContentType("text/html");
}

I have also tried using "application/html"..

Can you please suggest me what should i do to make sure that all the generated reports (HTML format) will contain images as defined in there MSWord Template.

Thanks.

 
New Post 1/20/2008 2:26 PM
  david
20 posts
9th Level Poster


Re: Image issue with HTML format 

The images are not embedded in the html file. The images are seperate files for html and you need to save them where the html file can link to them.

 
Previous Previous
 
Next Next
  Forum  Programming  General Program...  Image issue with HTML format
Membership Membership:
Latest New User Latest: louisedean
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 55

People Online People Online:
Visitors Visitors: 70
Members Members: 0
Total Total: 70

Online Now Online Now:
All contents copyright (c) 2002 - 2008 by Windward Studios, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement