Index: openacs-4/packages/ecommerce/www/admin/products/import-images-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/products/import-images-2.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ecommerce/www/admin/products/import-images-2.tcl 15 Aug 2008 10:00:54 -0000 1.4 +++ openacs-4/packages/ecommerce/www/admin/products/import-images-2.tcl 30 Aug 2008 13:45:16 -0000 1.5 @@ -119,12 +119,11 @@ # copy image & create thumbnails # thumbnails are all jpg files - if { [catch {ecommerce::resource::make_product_images \ - -file_extension [file extension $image_fullpathname] \ + if { [ecommerce::resource::make_product_images \ -product_id $product_id \ - -tmp_filename $image_fullpathname} errmsg ] } { + -tmp_filename $image_fullpathname] == 0 } { - append doc_body "

Error!Image update of $sku failed with error:<\p>

$errmsg

" + append doc_body "

Error!Image update of $sku failed. check server log for details.

" } else { append doc_body "

Imported images for product: $sku

" # A product row has been successfully processed, increase counter