Helper dataStream does not generate content

Notice: This thread is very old.
radas
Member | 217
+
0
-

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)

Robyer
Member | 74
+
0
-

Try to use also |nosafeurl modifier.

David Grudl
Nette Core | 7465
+
0
-

It would be nice if |datastream would work without |nosafeurl.

Milo
Nette Core | 1185
+
0
-

Patch proposed.