Index: openacs-4/packages/cms/www/modules/templates/assets.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/templates/assets.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/cms/www/modules/templates/assets.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/templates/assets.tcl 19 Aug 2002 03:54:52 -0000 1.3 @@ -73,10 +73,7 @@ if { [template::util::is_nil width] || \ [template::util::is_nil height] } { set revision_id [item::get_best_revision $item_id] - template::query get_image_info image_info onerow " - select width, height from images - where image_id = :revision_id - " -cache "image_width_height $revision_id" + db_1row get_image_info "" -column_array image_info if { [template::util::is_nil width] } { set width $image_info(width)