Implemented support for images.