html_image width and height

From: Date: Thu, 06 Mar 2003 21:32:14 +0000
Subject: html_image width and height
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-895@lists.php.net to get a copy of this message
Looks like the indexes are off by one in html_image: if(!isset($params['width'])) { $width = $_image_data[1]; } if(!isset($params['height'])) { $height = $_image_data[2]; } The docs state 0 is width, 1 is height, 2 is image type. I get images with a height of 1 for GIF, 2 for JPEG, ... ;P Gerard

« previous php.smarty.dev (#895) next »