Monday 31 March 2003 12:32:17 pm
In kernel/common/image.php, there is something wrong with this:
$img->registerType( 'gd', new eZImageGD( EZ_IMAGE_KEEP_SUFFIX, EZ_IMAGE_PREPEND_SUFFIX_TAG ) ); I changed the suffix parameter to EZ_IMAGE_KEEP_SUFFIX. Big mistake in ezimagegd.php:
00196 function scale( &$from, &$to, &$to_file, &$filters, $scale )
00197 {
00198 $this->convert( $from, $to, $to_file, $filters, $scale ); 00199 } I changed it to (WTH is your problem with php?):
function scale( &$from, &$to, &$to_dir, &$to_file, &$filters, $scale )
{
$this->convert( $from, $to, $to_dir, $to_file, $filters, $scale ); } Couse the function must be used like this:
/*!
Converts the image and scales it if needed.
Returns true if the image could be converted.
*/
function convert( &$from, &$to, &$to_dir, &$to_file, &$filter_array, $scale = false ) ....... And for scaling stuff is passed like this from ezimagemanager.php:
$str = $type_obj->scale( $from_array, $to_array, $to_dir, $to_file, $filter_array, $scale_rule );
Not every image is created. I think it creates only one image. On the demo gallery site it doesnt create any of the images exept the textimage. How can i fix this? Something with this image function is wrong please help as fast as possible.
Template processing takes a very long time: 45.0026 sec
I hope i supplied enough information. More info can be found at this topic:
http://developer.ez.no/developer/ez_publish_3/forum/install_configuration/still_problems_with_images Some changes fixed alot and i hope this will be helpfull I am looking forward for an answer, Sander Homs
|