Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

How to Select Multiple Images ?? 16 Sep 2013 08:09 #11098

  • gresys
  • gresys's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Hello Everyone, I need to know that how to build an image field that picks multiple images and stores them.
Single image upload field is there but I want to store multiple images.

I shall be waiting for reply.
Thank you.

Please Log in or Create an account to join the conversation.

How to Select Multiple Images ?? 16 Sep 2013 08:32 #11099

simply use more image fields.

the other option would be to use the JSON object and store all the images in one field, but if you are not a programmer or you don't have one available to do the modifications, there is no way you can do it, there are too many modifications to do, in order to have that.

Please Log in or Create an account to join the conversation.

How to Select Multiple Images ?? 16 Sep 2013 08:48 #11100

  • gresys
  • gresys's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Thanks for reply.

I am a programmer and really want to save multiple images. Would you please explain in steps?

Please Log in or Create an account to join the conversation.

How to Select Multiple Images ?? 16 Sep 2013 09:06 #11101

It's not easy to describe in details all the modifications needed. by the way I'll give some info, the requirement is to perfectly know how joomla MVC and j-cook MVC work.
  1. add a JSON object to your table
  2. add the image fields in the XML form file, grouped by the JSON field previously created
  3. add in the view layout all the code needed to generate the fields
  4. add in the function postSaveHook the code needed to process the file upload for the files
  5. fork and modify the function _upload to accept fieldNames grouped
The following user(s) said Thank You: gresys

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.100 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started