Making images dynamic according to the product images

Is there a way to have the image blocks on my product page pull from the product images?