html images issue

Topics: Developer Forum
May 23, 2008 at 3:16 PM
Hello,

Sorry for all the posts...

if I try to include an image with a full url it errors out....  you can only include image with a relitave url... This is fine, except for html files.... as the user will download the html file so how do I make the html file that is created make an image tag like:

<img  style="position: relative; left: 0px; top: 0px; width: 140px; height: 78px;" src="http://www.domain.com/images/logo.jpg" border="0">

rather than the current:
<img  style="position: relative; left: 0px; top: 0px; width: 140px; height: 78px;" src="./images/logo.jpg" border="0">

?

Also is it possible to make the system for html and PDF files to take sheat 0 do its thing,  then sheet 1 then sheet 2 and so one?  making one long file (many pages) rather than restricting it to be just on excel sheet?

And last but not least the document "PHPExcel developer documentation.doc" in 6.6.1 says "You can write a .htm file using the following code:"  should be .PDF

Thanks
Chris
Coordinator
May 26, 2008 at 6:27 AM
1. Will create a work item to create a feature which allows setting the base URL for these images
2. $objWriter->writeAllSheets() should be what you are looking for
3. Will fix that too
Coordinator
May 26, 2008 at 6:32 AM
Created work item: http://www.codeplex.com/PHPExcel/WorkItem/View.aspx?WorkItemId=6249