3D, turn product with mouse

I have taken about 12 images of a product from different angles.

Does anyone know a tutorial/code-example etc. of how I can make a little movie where I can use the mouse to rotate the product (switching between images) by clicking with the mouse and then drag towards left or right?