At 03:37 AM 8/13/2002 +0200, you wrote:
Hey there,

I created a set of scripts that did basically what you are looking to do.

1.   You may have a problem if you uncommented both DLL files.  Apache will 
complain when it tries to load two libraries with the same functions in them.

2.    Make sure that the dll file is in the correct place.  It should match 
the extension directory listed in your php.ini file.

3.    Additionally you may want to copy the DLL to your WINNT/SYSTEM 
directory (don't know why, but I've been told this helps.)

4.    Stop and restart Apache

5.     When uploading an image to be resized realize that the data may type 
image/pjpeg (progressive jpeg) and not image/jpeg (This caused my scripts 
to choke on me when checking image types for filtering purposes)

If PHP 4.2.2 doesn't support Jpeg then that is odd since I'm working with 
version 4.1.1 and I have no problems with my image scripts.

Feel free to reply if you'd like to show me your scripts or ask for 
additional clarification.


>I got the same Problem right yet. I´m using an create thumbnail library on
>my website, but the class don't work on my computer and either not on my
>webspace where i tested it too.
>On my Computer there is installed Win2K with apache 2.0.35 and PHP 4.2.2. I
>used both GDLibs wich came along with my PHP Package, but they both didn't
>have support for Jpeg Images.
>I'm running ill while I work on this shit. 'Cause I need to create to create
>Thumbs from very large images, they're about 2.5 MB each. And right yet I
>don't know some about performance and if it will work ever. Later the hole
>site will run on an dedicated Linux machine. But I'm not the super pro on
>installing and compiling packages on a linux systems. And it would be nice
>if i could test the scripts on my WinNT 5 machine.
>Please tell me what you found out yet! - I got a very nice image creation
>library, wich is under GPL. I'm going to send it soon to ya if you want it.
>-----Ursprüngliche Nachricht-----
>Von: NoWhErEMan [mailto:[EMAIL PROTECTED]]
>Gesendet: Montag, 12. August 2002 15:50
>Betreff: Re: [PHP] image function
>Thank you Jay, Yup my apache is on Windows : )
>Let's me try first.
>"Jay Blanchard" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
>:002301c24201$b28caf00$[EMAIL PROTECTED]
> > [snip]
> > I known i need to install a lot of staffs to get all the functions
> > Lib, FreeType Lib, libjpeg, libpng, zlib........etc etc).
> > But i only need a few of them, so if i just load the php_gd.dll, what
> > functions included?? I canr found any information about that.
> > And one more, does php_gd2.dll also a GD lib?
> > [/snip]
> >
> > The DLL is a Windows library AFAIR, and contains the GD functions when
> > included on a Windows server. You do not have to enable this extension on
> > Apache server (unless it is Apache on Windows). You just have to make sure
> > that PHP is compiled with all of the proper libraries for your use of GD.
> >
> > As for the second DLL, I am not sure. I haven't done a lot of Windows GD
> > installations, it does not look familiar.
> >
> > HTH!
> >
> > Jay
> >
> >
>PHP General Mailing List (
>To unsubscribe, visit:
>PHP General Mailing List (
>To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to