Added capability to edit images.