You can pass datastream to the image directives