We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Adding mutiple entries

Development and Programming

millszola's avatar
millszola
8 posts
13 years ago
millszola's avatar millszola

Hi, am looking for some advice. I have inherited a website that presently has a gallery that works as follows..

Each image is a single entry into a channel “Gallery”. I think it was done like this as each image has quite a lot of data to gow with it (Title, Credit Photographer, Season, Related Articles etc)

What I’m trying to find out is if there is a way in which I could upload multiple image as entries so we don’t have to do them 1 by 1.. as this takes quite some time if you have 20 or 100 plus images

Appreciate any help Thanks Tom

       
Coding Pattern's avatar
Coding Pattern
13 posts
13 years ago
Coding Pattern's avatar Coding Pattern

There are two ways to do this:

1- Place a jquery script to add input file tag onclick of a button “Add More” and name all these inputs as “upload_files[]”. Square brackets will let you get the array of inputs with the name “upload_files”. Then you will iterate and every item will be a single image.

2- Use a multiple files uploader instead. There are many.

Note: Don’t forget to check the max_post_size and max_execution_time on your server.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.