Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -r1.21.2.4 -r1.21.2.5 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 17 Oct 2005 12:46:33 -0000 1.21.2.4 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 4 Feb 2006 17:42:20 -0000 1.21.2.5 @@ -226,8 +226,11 @@ if { [string equal $mime_type "image/jpeg"] } { catch { set what_aolserver_told_us [ns_jpegsize $tmp_filename] } } elseif { [string equal $mime_type "image/gif"] } { - catch { set what_aolserver_told_us [ns_gifsize $tmp_filename] } - } else { + catch { set what_aolserver_told_us [sn_gifsize $tmp_filename] } + } elseif { [string equal $mime_type "image/png"] } { + # we don't have built in png size detection + # but we want to allow upload of png images + } else { ad_return -code error "Unknown image type" }