Re: resizing .jpg file in php

From: Date: Wed, 26 Feb 2003 16:20:52 +0000
Subject: Re: resizing .jpg file in php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-137254@lists.php.net to get a copy of this message
-- Steve Magruder wrote in message : > To reduce its display size in an img tag, specify 640 * .75 for the width > (assuming 640 is for width) and 480 * .75 for the height. If you actually > want to reduce the size of the image, then look at PHP's image-related > functions (and the GD library). > > Steve .................................................. Thanks Steve. Using MS Win 98 / PHP 4 and Apache. I tried running the following script but got an undefined call to: ImageCreate() The following copy is located in my php.ini file...one of which is: .............. ;extension=php_gd.dll .................. I tried uncommenting this line to no avail. What is the best way to install php_gd.dll so that I can make use of the image library. Many thanks. Tony Ritter ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; if you wish to have an extension loaded automaticly, use the ; following syntax: extension=modulename.extension ; for example, on windows, ; extension=msql.dll ; or under UNIX, ; extension=msql.so ; Note that it should be the name of the module only, no directory information ; needs to go here. Specify the location of the extension with the extension_dir directive above. ;Windows Extensions ;extension=php_mysql.dll ;extension=php_nsmail.dll ;extension=php_calendar.dll ;extension=php_dbase.dll ;extension=php_filepro.dll ;extension=php_gd.dll ;extension=php_dbm.dll ;extension=php_mssql.dll ;extension=php_zlib.dll ;extension=php_filepro.dll ;extension=php_imap4r2.dll ;extension=php_ldap.dll ;extension=php_crypt.dll ;extension=php_msql2.dll ;extension=php_odbc.dll > >

« previous php.general (#137254) next »