PDA

View Full Version : Hack for Image Optimization


Splitfyre
06-02-2003, 05:08 PM
Is there a hack that would allow the following:

With vB, you have the ability for users to attach images when posting. What I am looking for is for all images to auto compress and be shrunk to a preset size that could be modified by an Admin to any given size. This would then prevent from the frames breaking, and it would allow quicker downloads fo smaller, optimized images, and reduce the load on the server.

Xenon
06-02-2003, 06:23 PM
yes would be possible, if you have gd2 on your server (standart in php4.3)

Splitfyre
06-02-2003, 07:04 PM
Xenon, if I upgrade to PHP 4.3, will GD2 be automatically included?

Xenon
06-02-2003, 07:39 PM
you have to activate it in the php.ini file and must be sure the gd2.dll is on your server, too :)

WEForums
06-02-2003, 10:58 PM
PHP v4.3.1 is at WEForums, however, I don't see any gd2.dll file on the server. What has to be done to install it?

Xenon
06-03-2003, 09:34 AM
look on php.net into the install manuals how to install extra modules in php :)