fix bug where images were not shown for products having more than 2 photos