added basic image management (deleting)