Hi, i want to echo an Image inside an Zend Framework View Script (files cant be read by user)
This works in Controller:
$service = My_Service_Factory::getFileServer();
header('Content-Type: image/jpeg');
echo $service->getProfilePicture($user); // returns binary string
exit;
But how to implement this for Zend View?