|
Posted by Erwin Moller on 11/21/35 11:50
jeffsnox@gmail.com wrote:
>
> Erwin Moller wrote:
>> jeffsnox@gmail.com wrote:
>>
>> > Hi,
>> >
>> > I'm struggling to get imagecreatefromjpeg to work correctly.
>> >
>> > I'm running PHP 4.3.9 with GD bundled (2.0.28 compatible).
>> >
>> Yes, you didn't install the GD libs on your system.
>> My bet is not one imagefunction is working.
>>
>> Start to read here if you want to know how to install the stuff:
>> http://nl2.php.net/manual/en/ref.image.php
>
> As I said in my post, GD 2.0.28 is installed on my system. As far as I
> can tell (I've not tested other functions) imagecreatetruecolor() seems
> to be working fine. Though imagejpeg() is also not working.
Hi,
Yes, you wrote that, sorry, my bad.
What does gd_info() say?
Does that function think that jpeg is installed?
(read more here)
http://nl3.php.net/manual/en/function.gd-info.php
Also, it may be worth your time to read the usercontributed notes on the
imagecreatefromjpeg page.
Lots of them concern compileoptions for jpeg.
I cannot say if they are relevant to your situation, but they might be worth
a quick scan.
If this keeps haunting you, and you cannot find out why jpg-related
functions are not working, but the others do: Install GD by hand.
I have bad experience with pre-configured PHP-installs via installers.
Or even compile it yourself, if that is an option.
Regards,
Erwin Moller
[Back to original message]
|