Possible to Have Unlimited Number of Images Associated with a Single Pod Item?
I'm relatively new to Pods, and have only used it on one other project. I'd like to use it on another project, but I'm not sure if what I want to do is possible. I'd appreciate any input.
Here's the deal: I have a POD that will have various elements to it (eg: Description, image, etc.) However, I also want a set of images to accompany each POD entry, a small gallery of sorts. The catch is that I want the number of images in this gallery to remain unset and flexible. (eg: No max number of images.) Is this possible? How would I go about doing it?
Thanks in advance for any help!
9 Answers
Although you can add multiple images in a file upload field, I would actually recommend using nextgen gallery instead, because it's by far the most popular gallery plug-in (and best in my opinion). Then I would use the PICK NextGEN Gallery input helper (http://podscms.org/packages/pick-nextgen-gallery/) to link a pod item to a gallery. This combination will save you from having to create a another related pod to store lots and lots of image data.
@clarinetlord Awesome! And thanks for the quick reply. I'll check that out. I love NextGEN, but didn't realize it could be used with Pods.
Now, if I may, do you know if something like that is possible with videos as well? Obviously not with NextGEN, but anything else you may know of?
Thanks!!!
edited Jun 21 '10 at 12:17
I don't know of a video equivalent to nextgen, but you can always make a related pod that stores things like name of the video, url of the video, size, description, etc. Then make a multiple PICK column on your main pod to attach one or more video pod items to it.
@clarinetlord Ah, okay. Cool. I did think of TubePress after I posted this, but I think the method you suggested will give me more control over how they display. Thanks for your help! I really appreciate it!!!
Take care, Kate
@clarinetlord Maybe it would be better to ask this in a new thread, but... I'm attempting to use the NextGen gallery code as you suggested. I've assigned it to a Single Line Text Input, but instead of outputting a text field on the "Add New" form, it's returning an error:
"Parse error: syntax error, unexpected T_STRING in /wp-content/plugins/pods/core/input_fields.php(40) : eval()'d code on line 1"
Any idea what this might be from? I just copied and pasted the code, without altering it. Thanks in advance for any ideas!!!
I'm not sure why you are getting this error. I imported the package and tested it, and it works just fine. Did you use the Package Manager to import the package?
@clarinetlord Ooh... no. Sorry, I'll try that. Thanks!
@Kate
Just letting you know I will be updating this helper with a version that can handle multiple select picks, so would be an idea to grab that if you can ever see a need for assigning multiple NextGEN galleries to a pod item.
edited Jun 22 '10 at 6:07
@Rhys Just saw this comment, lol. Sorry! Thanks for the info!


