Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Flipflops
No worries. Glad to help. John On Jan 28, 3:06 pm, "Arak Tai'Roth" wrote: > Perfect, this is exactly what I was hoping for. Thank you very much > for your help with this. > > On Jan 28, 8:43 am, Flipflops wrote: > > > Hi > > > Well you can include a seperate field in your model for each upload

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Arak Tai'Roth
Perfect, this is exactly what I was hoping for. Thank you very much for your help with this. On Jan 28, 8:43 am, Flipflops wrote: > Hi > > Well you can include a seperate field in your model for each upload, > something like filename1, filename2 etc. - and thinking about it this > does work with

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Flipflops
Hi Well you can include a seperate field in your model for each upload, something like filename1, filename2 etc. - and thinking about it this does work with saveAll - but I needed felxibility and the advantage of having a seperate model just for uploads is you get to store all the meta data too..

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Arak Tai'Roth
That should help actually, as I am also using a seperate table to hold the images and then using associations to link them together. I am wondering though, how is your model coded to handle this, is it the same as it is for one image, or do you have to include a seperate entry of MeioUpload for ea

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Flipflops
Hi I'm using MeioUpload for a current project with multiple images. It is a bit more complicated as I'm saving all the images into a single table using a ploymorphic association (ie. Product hasMany Upload, Profile hasOne Upload etc.) - but this should be helpful anyway The upload fields generat

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread WebbedIT
Not that I've used this behaviour or even tried uploading yet but would have thought the solution lied in the naming of your fieldnames to create an array and using the saveAll() method as follows: For saving multiple records of single model $data needs to be a numerically indexed array of record

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Chad Casselman
Was a solution for this ever found? I need the same thing. I really like using Meio but must get multiple files working. I am still unclear on all the magic in cakephp or I would try to modify the script myself, but no where to even start looking - right now. Chad On Mon, Jan 26, 2009 at 2:2

Re: Multiple Uploads with MeioUpload

2009-01-26 Thread Arak Tai'Roth
I already have the code and everything working to upload one image, that is not the issue at hand. I want to be able to upload multiple images with MeioUpload. I wish to use this method because it can automatically create thumbnails for me, and there is very minimal amount of code that I need to

Re: Multiple Uploads with MeioUpload

2009-01-26 Thread gerhardsletten
Are using MeioUpload on my last project to as Article has many Uploads. When editing an article you can upload one and one image. Your will find source here: http://code.google.com/p/gerhardsletten/source/browse/trunk/cakephp/surdeig/models/upload.php?r=6 If you need your app to upload all in one

Multiple Uploads with MeioUpload

2009-01-25 Thread Arak Tai'Roth
I just recently started using the MeioUpload behaviour that I found and I love it. However I am struggling to figure out how I can be using it to do multiple file uploads. I have a table and a seperate model and controller just for uploading images, so one row in said table is equal to one image.