Added image deletion.