Index: /lib/wpsg_imagehandler.class.php
===================================================================
--- /lib/wpsg_imagehandler.class.php	(revision 6441)
+++ /lib/wpsg_imagehandler.class.php	(revision 6442)
@@ -35,5 +35,5 @@
 			$arAttachmentIDs = $this->getAttachmentIDs($product_key);
 				
-			if (wpsg_isSizedArray($arAttachmentIDs)) return $arAttachmentIDs[0];
+			if (wpsg_isSizedArray($arAttachmentIDs)) return array_values($arAttachmentIDs)[0];
 			else return false;
 			
Index: /views/mods/mod_productview/productview.js
===================================================================
--- /views/mods/mod_productview/productview.js	(revision 6441)
+++ /views/mods/mod_productview/productview.js	(revision 6442)
@@ -53,4 +53,5 @@
 				
 				jQuery('#wpsg_productview_' + index).replaceWith(data);
+												
 				wpsg_correctProductview(index);
 				
@@ -65,7 +66,13 @@
 	{
 				
+		var atts = jQuery.parseJSON(jQuery('#wpsg_productview_' + index + ' input[name="wpsg_atts"]').val());
+		
+		if (atts.mode === 'list') jQuery('.wpsg_productview_product_grid').show(0);
+		
 		var max_height = 0; jQuery('#wpsg_productview_' + index + ' .wpsg_productview_product_grid .wpsg_mod_productview_name').each(function() { if (jQuery(this).outerHeight() > max_height) max_height = jQuery(this).outerHeight(); } ).outerHeight(max_height);
 		var max_height = 0; jQuery('#wpsg_productview_' + index + ' .wpsg_productview_product_grid .wpsg_mod_productview_description').each(function() { if (jQuery(this).outerHeight() > max_height) max_height = jQuery(this).outerHeight(); } ).outerHeight(max_height);
 		
+		if (atts.mode === 'list') jQuery('.wpsg_productview_product_grid').hide(0);
+		
 		// Sortierungslayer
 		jQuery('.wpsg_mod_productview-order').bind('click', function(event) {
@@ -120,5 +127,5 @@
 			jQuery('.wpsg_mod_productview_modeswitch a').removeClass('active');
 			jQuery(this).addClass('active');
-
+						
 			return false;
 
