in the add to cart button, you specify the file name that should be used for the thumbnail.
In eCart 5, When you add the cart display manager, select the thumbnail column and select the Display As Image option. then select the image folder, this is the folder that will hold the product thumbnail images.