Add support for storing image.