Skip to content
Jeswin

Jeswin

Networking/Coding/Machine learning Notes

Codeigniter – Uploading an Image !

Jeswin Augustine August 23, 2011 3 Comments

Image uploading and manipulating them can be such a pain in the you-know-what. Even if you are working in a awesome framework like Codeigniter . So, we are gonna keep a code safe in this blog, which we can always come back and “copy paste” when and where required. What are we aiming here ? I am building a website with lots of users in it and users have a profile with profile pic. User can upload pic and use it as their avatar for the site. User can upload the picture of any size and we need to manipulate it to fit our requirement. Simple! Lets start then.

1) Upload an Image (duh! )

2) Manipulate it and create a thumbnail for it ! ( oh, yeah 😉 ! )

3) Display it where ever required ! Read More…

Categories: PHP, Professional, Programming Tags: Tags: building a website, png, source image, thumbnail, user profile

Categories

  • Graphics
  • Hosting
  • Just4fun
  • Machine Learning
  • Networking
  • Personal
  • Photoshop
  • PHP
  • Professional
  • Programming
  • Python
  • Technology
  • Wordpress

Archives

  • February 2023
  • August 2020
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • March 2018
  • February 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2016
  • December 2015
  • November 2015
  • June 2012
  • August 2011
  • July 2011
  • June 2011
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • About
  • Contact

Jeswin.com | fGeek Theme powered by WordPress