PEAK XOOPS - gd 1.62 in englishin japanese

gd 1.62

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

normal gd 1.62

msg# 1
Previous post - Next post | Parent - Children.1 | Posted on 2003/10/24 4:54
mikeh  °ìÅùʼ   Posts: 11
my host server has gd 1.62 installed
myalbum-p can build gif thumbnails but not jpg
this was the same in the old myalbum version

however there was a hack which solved this

is there one for myalbum-p

cheers
mike


code was in

include/functions.php

/* comment */
/*
$gd2 = true;
$dst_img = @ImageCreateTrueColor($new_w,$new_h);
if ( $dst_img == "") {
$gd2 = false;
echo "dst_img null<BR>";
$dst_img = ImageCreate($new_w,$new_h);
if ( $dst_img == "") {
// fixme: report GD error.
echo "GD error<BR>";
}
}
echo $dst_img;

*/
/* add */
$dst_img = ImageCreate($new_w,$new_h);
$gd2 = false;

Votes:1 Average:10.00

normal Re: gd 1.62

msg# 1.1
Previous post - Next post | Parent - No child | Posted on 2003/10/24 9:58
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I was surprised for there was still a hosting which used GD 1.6.

However, the possibility of the output of GIF might not be problems in next major version. Because, all of thumbnail will be created the form of JPEG or PNG uniformly.
Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!