Helper dataStream does not generate content

6 years ago

radas
Member | 211
+
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)

6 years ago

Robyer
Member | 74
+
0
-

Try to use also |nosafeurl modifier.

6 years ago

David Grudl
Nette Core | 6850
+
0
-

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

6 years ago

Milo
Nette Core | 1149
+
0
-

Patch proposed.