Images as links -> off center

I currently have a group of images set up in a grid (I didn’t like how the gallery set them up so I did it manually), and when I turn them into links (I want each one to go to a separate page in the site) it moves the image so it’s no longer centered. Everything shifts to the right, and down a smidge. Is there any way to prevent this from happening?