Added simple support for deleting images.