Thumbnail creation example in Codeigniter

Thumbnail creation example in Codeigniter 2.1.4. There is a file upload class, in codeigniter, which permits you to upload the file or files and also we can create thumbnail for the uploaded file as per our desired size. This class also permits you to set various preferences such as destination where the file and thumbnail will be uploaded, restrition on file types, restriction on file size, whether a file name should be encrypted or not, maximum length of the file name etc.

Below are the simple few processes for uploading a file and thumbnail creation example in codeigniter for this uploaded file. Continue reading “Thumbnail creation example in Codeigniter”

File upload example in Codeigniter 2.1.4

File upload example in Codeigniter 2.1.4. There is file upload class, in codeigniter, which permits you to upload the file or files. This class also permits you to set various preferences such as destination where the file will be uploaded, restrition on file types, restriction on file size, whether a file name should be encrypted or not, maximum length of the file name etc.

Below are the simple few processes for uploading a file

A form with input type file is required so that user can select the file using the browse button
When the form is submitted, the file is validated to make sure that the file is uploaded against the preferences you set
Once the file is uploaded successfully to the specified destination, the success message is shown Continue reading “File upload example in Codeigniter 2.1.4”