gd 1.62
List posts in the topic
gd 1.62
msg# 1
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
Posts tree