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?

有帮助吗?

解决方案

Just do something like:

echo '<img src="' . $url . '" />';
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top