I’m having this same issue but in the opposite direction.
My gallery was pulling images id=”gallery-6″ now on my local environment it’s setting id=”gallery-2″.
I’m about to give up on local development. It just always seems like something gets mucked up. I’m also no wiz and it’s likely entirely my fault.