Add prototype for listimages