Thursday, March 21, 2013

Re: [Rails] Multiple image upload

Can anyone help me on this ?

On Wed, Mar 20, 2013 at 6:34 PM, avinash behera <aavinash.behera@gmail.com> wrote:
Upload is fine.
Suppose I am uploading five images, which I can do with file upload.
But I also need to upload those images to a specific category. I also need to save Image name and which category(dropdown) it belongs into the db.

Suppose I uploaded 2 images:- 
After clicking on submit, I will get :-

Image  , Image Name : Text(We have to input),   Category : Dropdown    ---- It will repeat


On Wed, Mar 20, 2013 at 2:32 PM, Colin Law <clanlaw@googlemail.com> wrote:
On 20 March 2013 05:08, Avi <aavinash.behera@gmail.com> wrote:
> Hello All,
>
> I have a requirement.
> I am uploading multiple images from a folder.
> After Submit, it should show all the images row-wise in the UI in the same
> page as :-
>                         Image Name : name.png
>                         Image Name : hello.png etc.....

Which bit don't you know how to do?  Upload?  Redirect to the correct
view after upload?  Fetch names from db in controller action?  View
the names?

We are not telepathic, you must ask specific questions not just ask us
how to write your application.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate