QUI\Projects\Media\Utils::getImageHTML should be able to work with images that are not QUIQQER images
Use case: Converting svg images to png images in the smarty function.image.php
<?php
$result = QUI\Projects\Media\Utils::getImageHTML(
$Image->getUrl(),
$attributes,
$host ? true : false
);
getImageHTML
currently only works with images that are uploaded to QUIQQER media. In the current use case a .png
file that was converted from .svg
only resides as a simple file in the media cache.
I already implemented the conversion code. I just need to know what to do with the resulting .png
image file in this case.