updated gallery to pull from api.