![]() |
Upload file and Resize image - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Upload file and Resize image (/showthread.php?tid=29856) |
Upload file and Resize image - El Forum - 04-23-2010 [eluser]Unknown[/eluser] Hi, I try to use the function do_upload. I have created the following code: Code: $config['upload_path'] = './upload/'; This code upload my files in the directory but the name of the images aren't correct. For information, I use this kind of form: Code: ... For example, I upload the file 0000.jpg and 0001.jpg. Result in my directory upload: 0000.jpg, 0000.jpg.jpg, 0000.jpg_thumb.jpg, 0000_thumb.jpg. I don't understand why the file is renaming and how? The second file use the name of the first with extension... Thanks in advance for your help. Upload file and Resize image - El Forum - 04-24-2010 [eluser]EmmaMadeleine[/eluser] such a valuable information alex Upload file and Resize image - El Forum - 04-25-2010 [eluser]Tominator[/eluser] Hi, You may set $configThumb['new_image'] ... Tom. Upload file and Resize image - El Forum - 05-01-2010 [eluser]Unknown[/eluser] Hi, thanks you for your help. I have used the encrypt name. $config['encrypt_name'] = true; |