--- loncom/xml/londefdef.pm 2004/08/19 20:20:40 1.234 +++ loncom/xml/londefdef.pm 2004/08/23 15:23:53 1.236 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.234 2004/08/19 20:20:40 albertel Exp $ +# $Id: londefdef.pm,v 1.236 2004/08/23 15:23:53 sakharuk Exp $ # # # Copyright Michigan State University Board of Trustees @@ -2421,12 +2421,6 @@ sub start_img { } } elsif ($target eq 'tex') { $src=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$src); - #if uploaded restore the path - if ($src=~/^\/uploaded\/([^\/]+)\/([^\/]+)\/simplepage\/([^\/]+)$/) { - $src=&Apache::loncommon::propath($1,$2).'/userfiles/simplepage/'.$3; - } elsif ($src=~/^\/uploaded\/([^\/]+)\/([^\/]+)\/aboutme\/([^\/]+)$/) { - $src=&Apache::loncommon::propath($1,$2).'/userfiles/aboutme/'.$3; - } #if original gif/jpg/png file exist do following: if (-e $src) { #what is the image size?