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 -N -r1.11 -r1.12 --- openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl 7 Aug 2017 23:47:59 -0000 1.11 +++ openacs-4/packages/acs-subsite/www/shared/portrait-bits.tcl 1 Oct 2017 12:16:05 -0000 1.12 @@ -46,7 +46,7 @@ set filename $folder/$itemInfo(revision_id).$size if {![file exists $filename]} { - switch $itemInfo(storage_type) { + switch -- $itemInfo(storage_type) { "file" { set input_file [content::revision::get_cr_file_path -revision_id $itemInfo(revision_id)] exec convert $input_file -resize $size $filename