![]() |
Latavish's Multiple Image Upload with Thumbnail Generation - 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: Latavish's Multiple Image Upload with Thumbnail Generation (/showthread.php?tid=8682) |
Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 11-19-2009 [eluser]Unknown[/eluser] [quote author="Santiag0" date="1240604670"]The original code not work for me, but here is my simplified working adaptation Code: class multiupload extends Controller Code: <?php Enjoy and say 'thaks' if you find handy ![]() Thanks![/quote] This code works great BUT must be correct the Code: $imagename = $uploaded['file_name'].'_tn'.$uploaded['file_ext']; The little fix is: Code: $imagename = substr($uploaded['file_name'], 0, -4)."_tn".$uploaded['file_ext']; Bye. Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 11-19-2009 [eluser]Latavish[/eluser] i totally forget about this post. I have a much better version of this script. i'll post tonight when I get off the 9 to 5. Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 11-22-2009 [eluser]hugle[/eluser] [quote author="Latavish" date="1258663385"]i totally forget about this post. I have a much better version of this script. i'll post tonight when I get off the 9 to 5.[/quote] Hello mate, how is it going with an update? ![]() thanks! Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 11-22-2009 [eluser]Unknown[/eluser] I'm also really anxious to see your latest version of your script. I have been working on integrating a cool flash-based solution into a non-CI site. I would love to get that same type of interface working with CI. It sounds like that is what you have working but I'm not sure. I would also love to see a sample of how it looks/works. Do you have anything up that we could look at? Anyway thanks for your great contribution to the community Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 01-18-2010 [eluser]maria clara[/eluser] hi to all, im having an error with my upload script in CI. the image don't show off in the database and in the folder where it should be put in. here's my script: CONTROLLER: Code: $config['upload_path'] = './reports/module/'; MODEL: Code: function save($data,$item,$details) { help me please.. regards, kahtrina Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 08-03-2010 [eluser]Unknown[/eluser] very thankyou for santiag0 and vik407 ![]() Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 09-22-2010 [eluser]druid100[/eluser] @santiag0 ... nice work, it's simple and works nearly flawlessly! but you have to call $this->upload->initialize($config); before each $this->upload->do_upload(); to avoid problems caused by internal states of the upload class. @vik407 the double extension problem is avoided if you add the code as mentioned above. Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 01-10-2011 [eluser]Unknown[/eluser] Hi I have a form with 2 text boxes and multiple files. The problem is that when I have 2 attachments The method that saves information from the text boxes running 2 times (for each file).I know that the error comes from the cycle, but do not know how to fix it Example: FORM title = TEST desc = descript for test file1 = test.doc file2 = test2.doc DB id 1 TEST descript for test id 2 TEST descript for test Please help Comments are the Bulgarian Code: foreach($_FILES as $key => $value) Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 07-14-2011 [eluser]maxrosecollins[/eluser] [quote author="Latavish" date="1258663385"]i totally forget about this post. I have a much better version of this script. i'll post tonight when I get off the 9 to 5.[/quote] did you ever post the update? Max Latavish's Multiple Image Upload with Thumbnail Generation - El Forum - 01-19-2012 [eluser]Unknown[/eluser] Hi guys, im new to this and this thread helps me a lot..thank you!! ![]() |