use find_by_id on images to get nil instead of RecordNotFound exceptions