Question

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?

Was it helpful?

Solution

Just do something like:

echo '<img src="' . $url . '" />';
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top