Sander,
You need to enable multiple values for a CCK field.
You need to go to Admin --> content types --> select "edit" for your content type --> Manage Fields --> then select the CCK field you've created for the images --> then scroll to the bottom of the page and select the box that says "multiple".
At that point things vary depending on the cck module for that field. I'm using the embed media module and for the embeded Flickr pic field when I select the "multiple" box I the "create flikr pic" upload form now shows 5 boxes for entering URLs of Flikr pics. I don't see a setting where I can change how many of those boxes appear on the form. My memory is that for other CCK fields there is a configurable selection I make where I choose how many iterations of the multiple value field you want to show on the form.
I know it was the goal in Drupal 6 to significantly upgrade handling of multiple value fields for cck fields but I don't know if that made it in before the code freeze.
This still isn't an interface where you browse and click on a folder and voila you upload the contents of that folder into your node.
But maybe it will suffice for you for now.
Let us know what happens.
Shai
I just realized it's set up slightly differently than I thought. The Gallery is a custom content type with a custom image field with Multiple values checked - so once you've uploaded one you can upload another. So I guess it's a CCK issue. If you have multiple values enabled is there a way to show multiple upload fields? Can I add more than one of these fields but have them be used the same way (eg. photo1, photo2, photo3 etc) and allow multiple values for each?
Shai Gluskin wrote:Sander,
I don't have time to really mull this -- but it sounds like you are in need of gallery functionality. I don't like the gallery functionality that comes with the Image module install.
Acidfree is much better, but not perfect. With acidfree you can create an "album" which is a special node type that will include references to all the image nodes that you've imported into the album. The images are nodes, but they are also included in the album node that you've created.
Then there is Gallery2 which is kind of bloatware if you don't need everything, has its own significant learning curve, and suffers from not being a "made for Drupal" project -- though if you need what it does, its great.
One thing I didn't mention, because I haven't used it, is IMCE. It gets good reviews and it doesn't create images as nodes, it just inserts them into nodes. I believe I read about a bulk upload feature in the works or maybe already done -- check it out. Having the individual images as nodes has a certain elegance but can create its own overhead/complexity which, if you don't need it, is better done without.
Shai
On 9/10/07, sander-martijn <sander@sander-martijn.com > wrote:Thanks, I checked out the first option which would be perfect (haven't tried the second yet) and realized I have to clarify something. The image_import module creates image nodes. What I have set up is node_images, where you can attach images to a node. Currently you have to do this one at a time. There will be a lot of Nodes (probably about 50-60 maybe more, each representing a gallery) and there will be about 5-10 images attached to each node. I'm looking for a way to either upload all the images by ftp and then pull them into the the nodes or have multiple upload fields display on the node at a time so that several can be attached at once.
thanks
sander
Shai Gluskin wrote:Sander,
The image_import module (which comes with the Image module) does this the FTP way. First upload via FTP and then bulk import to nodes. Obviously the limitation there is that only admins with FTP privileges can do it.
The Acidfree module has a way to allow users to do it, by uploading a zip or tar file from an Import Images screen. Problem there is a lot of end users won't be agile enough with zipping/tarring. In addition, OS X's built-in zipping function (called Archive) -- includes resource fork files which then get turned into blank image nodes. So even with Acidfree folk who feel comfortable with zipping -- you explain to Mac users how to make a "clean" archive.
I think what a lot of folks long for is something similar to the interface that Facebook uses for bulk image uploads. I'm sure it will arrive sooner or later, I'm not up on who might be working on thinking about such a tool. Maybe others know.
The Acidfree interface when you do the bulk upload is nice, being able to edit relevant node fields for all the images on the same screen.
Shai
On 9/10/07, sander-martijn <sander@sander-martijn.com> wrote:Ist there a way to allow for bulk upload of images attached to nodes?
One option that would work would be to display multiple file browsers on
the node's edit page instead of one at a time. Another would be to ftp
the images to the server and then somehow attach them. Or perhaps
there's already a module for it?
thanks
.s
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]