I'm exporting a data in XLS format with the use of ExcelWriter() in PHP. In some cases I have a data in image format (stored as a path). is that possible to directly show images in the excel?
Asked
Active
Viewed 2,327 times
0
-
Are they stored as URLs? – silkfire Jul 01 '13 at 08:13
-
Which ExcelWriter library are you asking about? Neither of the two libraries I'm aware of with that name (http://sourceforge.net/projects/excelwriterxml/ or http://excelwriterxml.sourceforge.net/) support images. Though there are a number of alternatives that do. – Mark Baker Jul 01 '13 at 09:10
1 Answers
1
Just do something like:
echo '<img src="' . $url . '" />';

silkfire
- 24,585
- 15
- 82
- 105
-
how can i assign the cell height & width in Excel with escelwriter in php – Parthi04 Jul 01 '13 at 10:43