Adding a product field to cart summary in views
If anyone is interested, I found the answer here: https://drupalcommerce.org/discussions/1128/product-image-cart-form

It is a permissions issue. The solution was to enable the permission "view any product of any type" for anonymous users.