954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

php image resize function

I HOPE YOU ARE ALL FINE)

In my web i`m using image magic or GD library to resize photos when someone upload them to the server.
This makes me create alot of thumbnails for a single photo.

So i`m asking if their is any function in PHP which can resize photo when displaying.
i mean,i will upload the original photo without resize and when displaying it,i will use that function to resize to any size i want.

ANY SUGGESTIONS WILL BE APPRECIATED.

mrcniceguy
Posting Whiz in Training
283 posts since Mar 2008
Reputation Points: 17
Solved Threads: 8
 

There are several ways of doing it. The most common being using gd although the gd library is a tiny library that handles very few file formats. I would recommend using the imagick library and this can be viewed on the php documentation .

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You