In another plain-Php-application, following code will render png-file using php code like this:
<img src="counter.php" title="Pic1" alt="Picture1">
counter.php is in folder /frontend/views/site. counter.php uses php-functions like imagecreatefrompng(), imagepng() etc.picture is in folder:
$gfx_file = Yii::getAlias('@web') . '/img/tacho.png';
In my plain application, picture will be shown as being presented at my attachement counter.png. In my yii2-application, picture won’t be found. Any ideas how to fix this circumstance?