CodeIgniter from Scratch: File Uploading and Image Manipulation
videos

CodeIgniter from Scratch: File Uploading and Image Manipulation

Share

In lesson nine of our CodeIgniter series, we’ll build a small image gallery that allows you to upload files, and automatically create thumbnails.

Final Example

Catch Up

Day 9: File Uploading and Image Manipulation

Other Viewing Options

Related Posts

Add Comment

Discussion 87 Comments

Comment Page 2 of 2 1 2
  1. sanil shakya says:

    sir, i wanted to know if you can create 2 thumbnail with different height and width with ci. i have tried to do so by creating 2 different functions for thumbnail generation and then call it in main upload function but it didn’t work, can u plz provide the easy way for doing it.

  2. yijinsei says:

    is there any helper class from codeigniter to upload image via URL?

  3. It would be great to see a multiple file upload example. Even the CI docs don’t adequately show this. Nice tutorial.

  4. Timothy Tocci says:

    download video link is dead any way you guys can get it going again?

  5. angelo says:

    Where a can find the sql file?
    for create tables…

    Thanks

  6. some says:

    the link is broken.. i would like to download it because my internet connection its not so great.. plz.

  7. Paul Bennett says:

    Quick bit of digging around got me the proper download link:

    http://blip.tv/file/get/NETTUTS-CodeIgniterFromScratchDay9668.flv

  8. Machhindra says:

    Not Found

    The requested URL /ci_series/gallery was not found on this server.

    I get this error. can anybody help me?

    • Adam says:

      Machhindra,
      Check your htaccess that came with your CI source files for this tut. Chances are you renamed the folder the application is in, and that htaccess file is still referencing what the author named it.

  9. Tim says:

    Hi Adam,
    I have same error with Machhindra.
    Also, I have checked the folder name. However, I cannot correct it.
    Is there any setting to use .htaccess file based on Windows?

  10. Tim says:

    Hi everyone,

    I have same error with Machhindra.
    Also, I have checked the folder name. However, I cannot correct it.
    Is there any setting to use .htaccess file based on Windows?

    Have a good day!!!

  11. franck says:

    Hi,
    I’ve been researching on how to upload images on the database then view In Codeigniter

  12. Baby says:

    Hi, Need to vew my table record from the dropdown list, any idea?

  13. Ryan says:

    I’ve enjoyed the series so far, but I have a question about this one.

    It seems that when I upload a picture, it one doesn’t work, and two when it redirects back to the gallery, it says link broken. It does it with both the code that I typed while going through the tutorial, and also the downloaded source code.

    Any thoughts?

  14. Nikolai says:

    Hi all,
    Does this image manipulation library supports animation gifs and thumbnails with animation?

  15. Alkis says:

    Thanks a lot.

Comment Page 2 of 2 1 2

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.