Re: Upload Multiple images in Cakephp
Dear reader, I've noticed this post and I have a similar issue concerning the use of multiple file upload in CakePHP. I'm rather new to CakePHP development but i'm familiar with programming and the MVC concept. I'm developing on cakephp 1.3.7 and use MeioUpload as FileUpload component (url: http://www.meiocodigo.com/projects/meioupload/). At the moment everything is setup and I have a Album and Photo table in my database. The models, views controllers are set for them and i'm able to upload photo's to an album and to view albums containing photo's. To display my photo's i'm using a JQuery plugin called 'Galleria'. All this stuff is implemented, tested and it works! My main issue now is that uploading an album with for example 70 pictures in it take time... It would force the admin to upload the 70 pictures manually... I've tried to implement the Jquery Dynamic Form plugin so I could dynamically add more FileUpload components to upload page. I've played with the code for some time and came to the conclusion that this plugin isn't working. Maybe i'm doing something wrong. So my question basically: Is there anyone who implemented multiple file upload in cakePHP succesfully that can show me the right way to do it (with MeioUpload or without). I've searched the web for hours now so i'm pretty much depended on the outcome of this post now. greets thanks in advance! Fons -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Upload Multiple images in Cakephp
Try Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload I went through a lot... and it did the trick without all the fuss. On 28 March 2011 16:43, Shashank cooldude17202...@gmail.com wrote: Hi Guys, I want to know is there any way so that i can select multiple images and upload them on a single click. I searched for it over internet and i found that Multiple Image Upload by Koa, but that doesnt seem to be good enough for me because it stores all the three names of the uploaded images in a single entry in database. Moreover in that approach i have to select the 3 images separately by clicking browse, but i want this to be done on a single click. Even if i leave this requirement, i need that there should be multile entries in the database for every image. Is there any way of doing this. Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Upload Multiple images in Cakephp
Its not working!!! On Mon, Mar 28, 2011 at 2:52 PM, Ryan Snowden sicapi...@gmail.com wrote: Try Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload I went through a lot... and it did the trick without all the fuss. On 28 March 2011 16:43, Shashank cooldude17202...@gmail.com wrote: Hi Guys, I want to know is there any way so that i can select multiple images and upload them on a single click. I searched for it over internet and i found that Multiple Image Upload by Koa, but that doesnt seem to be good enough for me because it stores all the three names of the uploaded images in a single entry in database. Moreover in that approach i have to select the 3 images separately by clicking browse, but i want this to be done on a single click. Even if i leave this requirement, i need that there should be multile entries in the database for every image. Is there any way of doing this. Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
RE: Upload Multiple images in Cakephp
Not working? Ok. Now that explains it. Don't put too much effort into your question there. Would not want you to strain yourself. If you want a decent answer ask a decent question. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Upload Multiple images in Cakephp
My mistake. I tried the Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload... but i am not getting how to implement it. I mean i use it into my cakephp installation but i am not getting how and from where to get a databse entry of the uploaded images and also i am getting error in saving the images. On Mon, Mar 28, 2011 at 9:32 PM, Krissy Masters naked.cake.ba...@gmail.comwrote: Not working? Ok. Now that explains it. Don't put too much effort into your question there. Would not want you to strain yourself. If you want a decent answer ask a decent question. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Upload Multiple images in Cakephp
Even if i just download the source code, and run the example index.html file, i am getting an error like ds in my firebug *uncaught exception: Invalid JSON: ?php $file = $_FILES['file']; echo {name:'.$file['name'].',type:'.$file['type'].',size:'.$file['size'].'}'; ?* ** I am not getting what to do now??? On Mon, Mar 28, 2011 at 9:36 PM, Shashank cooldude17202...@gmail.comwrote: My mistake. I tried the Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload... but i am not getting how to implement it. I mean i use it into my cakephp installation but i am not getting how and from where to get a databse entry of the uploaded images and also i am getting error in saving the images. On Mon, Mar 28, 2011 at 9:32 PM, Krissy Masters naked.cake.ba...@gmail.com wrote: Not working? Ok. Now that explains it. Don't put too much effort into your question there. Would not want you to strain yourself. If you want a decent answer ask a decent question. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Upload Multiple images in Cakephp
I need some help over here to resolve this issue. Its urgent...What all i need i that: 1. A user can select multiple images to upload. 2. Once he uploads all the images, they get save into the uploads folder and also i want individual entries for every image being uploaded in database. On Mon, Mar 28, 2011 at 9:41 PM, Shashank cooldude17202...@gmail.comwrote: Even if i just download the source code, and run the example index.html file, i am getting an error like ds in my firebug *uncaught exception: Invalid JSON: ?php $file = $_FILES['file']; echo {name:'.$file['name'].',type:'.$file['type'].',size:'.$file['size'].'}'; ?* ** I am not getting what to do now??? On Mon, Mar 28, 2011 at 9:36 PM, Shashank cooldude17202...@gmail.comwrote: My mistake. I tried the Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload... but i am not getting how to implement it. I mean i use it into my cakephp installation but i am not getting how and from where to get a databse entry of the uploaded images and also i am getting error in saving the images. On Mon, Mar 28, 2011 at 9:32 PM, Krissy Masters naked.cake.ba...@gmail.com wrote: Not working? Ok. Now that explains it. Don't put too much effort into your question there. Would not want you to strain yourself. If you want a decent answer ask a decent question. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
RE: Upload Multiple images in Cakephp
Post your function upload() code, see what you have first off and the js you are using to upload with the script. Cant help if no one knows where your going wrong. K From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Shashank Sent: Monday, March 28, 2011 1:36 PM To: cake-php@googlegroups.com Subject: Re: Upload Multiple images in Cakephp My mistake. I tried the Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload... but i am not getting how to implement it. I mean i use it into my cakephp installation but i am not getting how and from where to get a databse entry of the uploaded images and also i am getting error in saving the images. On Mon, Mar 28, 2011 at 9:32 PM, Krissy Masters naked.cake.ba...@gmail.com wrote: Not working? Ok. Now that explains it. Don't put too much effort into your question there. Would not want you to strain yourself. If you want a decent answer ask a decent question. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php