[svn r16140] Increased oogie thumbnail size to 300 pixels

skala
Yannick Warnier 17 years ago
parent 8b4747eb25
commit 52e951f2b3
  1. 2
      main/newscorm/openoffice_presentation.class.php

@ -68,7 +68,7 @@ class OpenofficePresentation extends OpenofficeDocument {
$image = $this->base_work_dir.$this->created_dir .'/'. $file_name; $image = $this->base_work_dir.$this->created_dir .'/'. $file_name;
// calculate thumbnail size // calculate thumbnail size
list($width, $height) = getimagesize($image); list($width, $height) = getimagesize($image);
$thumb_width = 200; $thumb_width = 300;
$thumb_height = floor( $height * ($thumb_width / $width ) ); $thumb_height = floor( $height * ($thumb_width / $width ) );
// load // load
$thumb = imagecreatetruecolor($thumb_width, $thumb_height); $thumb = imagecreatetruecolor($thumb_width, $thumb_height);

Loading…
Cancel
Save