$data only contains the link to the image if the image is in os storage. The…
$data only contains the link to the image if the image is in os storage. The size is calculatet wrong in this case and the download fails. rely on filesize from the db for content-length