Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Image functions

     
5:51 pm on May 18, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 4, 2004
posts:553
votes: 0


I am trying to resize an image when I upload it, currently it is being sized down by static html and becomes pixelated.

I have looked at all the functions on php.net but I am not sure which ones I need.

Thanks all

Turk

6:29 pm on May 18, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Hi dkin,

This may be useful:
http://uk.php.net/image [uk.php.net]

If you are resizing with the GD Library functions, you can resize either jpg,png or gif images. There are some classes on the PHP classes repository for image resizing:

[phpclasses.org...]

Good luck.

dc

11:05 am on May 21, 2006 (gmt 0)

Junior Member from IN 

10+ Year Member

joined:Nov 3, 2002
posts:91
votes: 0


Here are 2 examples of php GD resize functions

[icant.co.uk...]

and

[weberdev.com...]