Index: openacs-4/packages/ecommerce/sql/postgresql/ecommerce-defaults.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/sql/postgresql/ecommerce-defaults.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/ecommerce/sql/postgresql/ecommerce-defaults.sql	8 Mar 2004 19:46:10 -0000	1.3
+++ openacs-4/packages/ecommerce/sql/postgresql/ecommerce-defaults.sql	27 Apr 2008 01:38:23 -0000	1.4
@@ -33,7 +33,13 @@
         || '<td>' || '\n'
         || ' <table>' || '\n'
         || ' <tr>' || '\n'
-        || ' <td><%= [ec_linked_thumbnail_if_it_exists $dirname] %></td>' || '\n'
+        || ' <%' || '\n'
+        || 'array set image_info [ecommerce::resource::image_info -type ProductImage -product_id $product_id -dirname $dirname]' || '\n'
+        || 'array set fullsize_info [ecommerce::resource::image_info -product_id $product_id -dirname $dirname]' || '\n'
+        || '%>' || '\n'
+        || '<td><if @image_info.url@ defined>' || '\n'
+        || '<a border="0" href="@fullsize_info.url@"><img src="@image_info.url@" height="@image_info.height@" width="@image_info.width@"></a>' || '\n'
+        || '</if></td>' || '\n'
         || ' <td>' || '\n'
         ||     ' <b><%= $one_line_description %></b>' || '\n'
         ||     ' <br>' || '\n'
