previews image product vertical is possible?

I would like to know how can I set previews of images produced one below the other instead of horizontal. I have to insert 3 images for each product and I want to see that these one below the other

(displayed on the page detailed product “Other images”)