Upload Image Multiple Thumbnail Sizes using CodeIgniter

In this post we have share how to upload image and create multiple thumbnail sizes using CodeIgniter with MySQL. File upload functionality is one of the most common requirements for most of the web applications. Codeigniter file upload library is a very simple to use. File Uploading step-by-step instructions on how to upload file using CodeIgniter with MySQL.
Step 1: Create MySQL Database and Table
Step 2: Create a model file
Create a model file named “Upload_model.php” inside “application/models” folder.
Step 3: Update constants file
Open application/config/constants.php file add update code.
Step 4: Create a controller file
Next create a controller file named “Upload.php” inside “application/controllers” folder.
Step 5: Create a view
Create a view file named “index.php” inside “application/views/upload” folder