Welcome, Guest
Username: Password: Remember me

TOPIC: How to Select Multiple Images ??

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

  • gresys
  • gresys's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 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.
The administrator has disabled public write access.

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

  • Tomaselli
  • Tomaselli's Avatar
  • Online
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
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.
The administrator has disabled public write access.

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

  • gresys
  • gresys's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Thanks for reply.

I am a programmer and really want to save multiple images. Would you please explain in steps?
The administrator has disabled public write access.

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

  • Tomaselli
  • Tomaselli's Avatar
  • Online
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
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 administrator has disabled public write access.
The following user(s) said Thank You: gresys
Time to create page: 0.074 seconds

Get Started