PDA

View Full Version : Imagemagick for height not width



brooksh
09-26-2004, 11:16 PM
I am uploading virtual tours and I am trying to set the thumbnail height, and forget the width. I have set in the common.php



$config['allowed_vTour_upload_types'] = array('image/pjpeg','image/jpeg','image/gif', 'image/x-png'); // allowed file types
$config['allowed_vTour_upload_extensions'] = array('jpg','gif','png'); //possible allowed file extensions
$config['make_vTour_thumbnail'] = 'yes'; // use an external thumbnailing tool to resize images
$config['thumbnail_vTour_height'] = '75'; // max height (in pixels) of thumbnails
// These two lines are for ImageMagick Support
//$config['path_to_vTour_thumbnailer'] = $config['mainpath'].'/include/thumbnail_vTour_imagemagick.php'; // path to the thumnailing tool
//$config['path_to_vTour_imagemagick'] = '/usr/X11R6/bin/convert'; // path to the convert tool, OPTIONAL! (Fill this only if you use ImageMagick)

And I tried to make my owne imagemagick file but it doesn't work. Anyone have any ideas?