I'm trying to show an image into a report

Hi, im learning to develop in Matomo. My main question is :
I want to upload an image in my report and in the report show only the image. I have the picture .png in the api class, but I have seen that it is necessary a viewDataTable in a Controller. i dont know how use the image in the controller and remove the datatable.
Thanks.