Index: openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl 22 Aug 2007 07:31:27 -0000 1.7 +++ openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl 27 Aug 2007 12:09:49 -0000 1.8 @@ -21,12 +21,9 @@ } if {$size eq ""} { - cr_write_content -item_id $item_id + cr_write_content -item_id $item_id } else { - set thumbnail_id [image::get_resized_item_id -item_id $item_id -size_name $size] - if {$thumbnail_id eq ""} { - set thumbnail_id [image::resize -item_id $item_id -size_name $size] - } - cr_write_content -item_id $thumbnail_id + ad_returnredirect "/image/${item_id}/thumbnail" + }