includes/render.php
changeset 65 627d0a8a7819
parent 63 2c57d3018a88
child 66 52017732bc20
equal deleted inserted replaced
64:60e450d2e8c3 65:627d0a8a7819
   814         $url = makeUrlNS('Special', 'DownloadFile/' . $filename);
   814         $url = makeUrlNS('Special', 'DownloadFile/' . $filename);
   815       }
   815       }
   816       
   816       
   817       $img_tag = '<img src="' . $url . '" ';
   817       $img_tag = '<img src="' . $url . '" ';
   818       
   818       
   819       if ( isset($r_width) && isset($r_height) && $scale_type != '|thumb' )
   819       // if ( isset($r_width) && isset($r_height) && $scale_type != '|thumb' )
   820       {
   820       // {
   821         $img_tag .= 'width="' . $r_width . '" height="' . $r_height . '" ';
   821       // $img_tag .= 'width="' . $r_width . '" height="' . $r_height . '" ';
   822       }
   822       // }
   823       
   823       
   824       $img_tag .= 'style="border-width: 0px; background-color: white;" ';
   824       $img_tag .= 'style="border-width: 0px; background-color: white;" ';
   825       
   825       
   826       $img_tag .= '/>';
   826       $img_tag .= '/>';
   827       
   827