Viewing Post Image Breaks Flow

When opening a photo, it goes to the individual photo on it’s own page instead of a popup on the existing page