changed the best images method to include images in the metadata