Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Upload and Resize an Image

Posted: Dec/13/2009   By: pankaj   Points:15   Category: PHP  - PHP Advanced    Views:224   Vote Up (0)   Vote Down (0)    
You have created a cool contact directory and you want to allow people to upload their own photos, or you want to create an image repository which you upload images and create thumbnails out of them. Whatever it is, you need to be able to upload images and resize them. PHP has the ability to upload files such as documents or images using the multipart/form-data protocol, but how do you use this and how do you resize the images after they are uploaded?

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Class: Image Resize Class

  
The package is based on factory design pattern. There is a ImageResize base class and subclasses for specific image file formats.The ImageResizeFactory class has a factory method which is used to determine which of the sub-classes specialized in each of the supported formats is to be instanciated. The choice of sub-class is made upon the determination of the input image file format from its file name extension.
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge