CodeIgniter from Scratch: File Uploading and Image Manipulation