I am looking for someone to write a PHP script to upload two different types of objects. My site is built using CodeIgniter, so expertise with this particular PHP framework is mandatory. The function will have a variable that will denote whether a user is uploading a profile picture or a picture for a post. The desired process will be as follows:
1. Check to verify image is under 2MB, proper filetype (.jpg, .png, .bmp), and is actually an image.
2. Save two copies of the cropped and re-sized image. Dimensions for profile picture are 140x140, with thumbnail of 22x22. The post picture will be 300x300 with thumbnail of 94x70.
3. If it is necessary to save the uploaded image to a temporary folder, it is now deleted.
4. The location of the profile picture is inserted as `dbUserPic` into the `Users` table, and the post picture would be inserted into the `Posts` table as `dbPostPic`.
Preferably, the name of the picture would be encrypted as well, but I can take care of that if it will be too much work.
Thank you for your consideration of the project!
Décerné à :
29 freelance font une offre moyenne de $80 pour ce travail
Dear Sir, In last 2 years I did all my websites only with codeIgniter. Please check inbox to see links of websites done with codeigniter and a gift for you. kindly award the project and get the job done in few hours.
I have extensive working experience on CodeIgniter. I can do your image uploading script as you described. Please check PM for details. Regards,Yunus
Hi, It is better to use a helper to upload image/file in CodeIgniter framework. I have a written helper for this purpose which I have used in my application. Please check PMB for details and sample code.