Nette 2.1.0 (2013–12–31) $photo is an object of Nette\Image
<img src="{$photo|dataStream}">
produces
<img src="">
Nette 2.1-dev (2013–12–05) behaves correctly.
Last edited by radas (2014-01-04 19:31)
Try to use also |nosafeurl modifier.
|nosafeurl
It would be nice if |datastream would work without |nosafeurl.
|datastream
Patch proposed.