Can you post up a link to the product_details page that doesn't show the gallery correctly?
You will create a different gallery for each different product. Then in the description for that product (you would edit the product on the admin end) enter the code for displaying the image on the page there. The description will be saved for that particular product and will be displayed when the product is being viewed.