@aladley, did you delete the images from the gallery field or did you delete the gallery field from the field group? Was the field name changed?
It sounds like you have values in a field that are no longer shown in the admin. In this case if your template file is still coded to get the values from the field then they will still show up, at least I think they will.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users