Which module or what is better to do to import multiple images ?
I suggest here some modules doing that, maybe one or some will be good in synergy with views gallery module?
http://drupal.org/project/image_fupload
http://drupal.org/project/imgupload
http://drupal.org/project/swfupload
http://drupal.org/project/imagefield_import

CommentFileSizeAuthor
#3 imageupload.jpg143.1 KBweaponx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pdumais42’s picture

i need this too. i'll post here if i figure it out.

DocMartin’s picture

Imagefield_import evidently requires first uploading to a directory via ftp, then into imagefield (galleries); I'd prefer to upload files directly.

Views Gallery Uploadx looks promising - allows drag n drop uploading, but I didn't get it to work (on Mac):
http://monsworld.com/blogs/drupal-modules/views-gallery-drag-and-drop-up...

Likewise, quick try w swfupload and didn't work; only dev version as yet for Drupal 6. fupload looks very similar, also using swfupload flash module, tho I see info notes "a lot of buggy parts"

jupload requires multiple value imagefield: which I figure means an imagefield with more than one photo; not really something I want in a gallery.

imgupload for Image galleries, rather than imagefield types as Views Gallery uses.

weaponx’s picture

FileSize
143.1 KB

Just for the record I am using Views 6.x-2.8, Views Gallery 6.x-1.2, CCK 6.x-2.6 and Image FUpload 6.x-3.0-rc2 and it works perfect. I can upload 50 files at the time and it mass creates images auto title, filename and hook up to a gallery.
I will be happy to demonstrate it at http://howlingmoon.info/

Please note that this a new drupal site I am creating so there is not any content right now.

Create a user and I will allow you to upload images so you may see it in function.

DocMartin’s picture

Thanks, weaponx
I'd thought FUpload was for Image, not Imagecache (as Views Gallery uses for uploads)

But find it works, no need to enable the FUpload (image) part within module, or Image.

Enable it for gallery Images via content types > Image > manage fields > configure Image (phew!): here you can set widget to FUpload, and storage mode of one image per node (it seems).
More settings to play with, perhaps, before working really well for me.
(Also found I had to disable swfupload, which I tried a while ago. Once I did this, working very well.)

martincorrea’s picture

DocMartin,

Thanks for the details in your post (#4), I've followed the Image-fupload doc, and the suggestions in your post.

While configuring Image, the following reminder popped up:
"Image FUpload widget can only be used once per node type. If this is a second field using image fupload based on the same node type, it's adviced to delete this field, reconfigure the other one and create a new one without image fupload widget".
I am assuming this is not applicable for the this Image node type.

Also, could you possibly expand on " More settings to play with, perhaps, before working really well for me "

Just in case I need to do some additional configuration, I am very new to Drupal

Thanks again,

DocMartin’s picture

Hi martincorrea:

I've used Drupal for a while, but can get out of my depth real fast, so posts not always spot on.

But: I think the only once per node type is fine here; only uploading to one field for each image; then create a new node with field for next image uploaded and so on. [Author of the cautionary note maybe meant that you can't add images to more than one field on a node (in this case, that pretty much means per gallery image page ... I think)]

As to the other settings - I wrote note before having settled on what seemed best config.

After bit of trial and error, I found that in "Manage fields", then "configure" Image - after choosing Image FUpload as the widget type, then choosing One image per node, useful to scan down past various settings, where you might want to select Image size if defaults don't suit you.
Then, there's Image preview list - which applies after FUpload has uploaded images, but when you choose to edit captions. Seemed to me useful to choose "Image size:thumb" for Preview Image Preset.
I then tried the Editable fields, experimenting with settings. Seemed it was useful to make the settings for Title (Node) and Description (Node) editable.
Plus, I have Photo keywords [for the Gallery Image type, set via taxonomy; free tagging] - also good to have these editable.

NOT useful to make Gallery (CCK) editable. [can't remember why just now; maybe as then could not choose which Gallery to add images to. Might be unimportant if have just the one Gallery]

Well, these settings work OK for me I think.
May not be ideal - but hopefully you'll find worth a go.

AntiNSA’s picture

Category: feature » support
Priority: Normal » Critical

I enabled the imagefield fields....

I have to say it works great... except after the pictures are finished uploading I get a ton of errors with og_statistics,

warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/cyberfan/htdocs/modules/og_statistics/og_statistics.module on line 108.
warning: array_diff() [function.array-diff]: Argument #2 is not an array in /home/cyberfan/htdocs/modules/og_statistics/og_statistics.module on line 109.
warning: array_diff() [function.array-diff]: Argument #1 is not an array in /home/cyberfan/htdocs/modules/og_statistics/og_statistics.module on line 110.

The images are correctly saved, but the user is left at the page... I would like to find out how to get them redirected to the group homepage... any ideas?

AntiNSA’s picture

Category: support » feature
Priority: Critical » Normal

I just found a post where a huy said he found out how to use fupload withredirection by

" . I just created a triggered rule that redirects the user to the Node being referenced instead of back to the upload form."

Any ideas?

KarenS’s picture

See #601210: Upload multiple images for more discussion about this issue. I'm going to mark that one as a duplicate of this, we don't need two issues.

Tweetinat’s picture

Hi DocMartin,

Thanks for your instructions in posts no 4 & 6. I'm trying to change the widget type but all I see in the drop down list is 'Image' and 'File Upload'. If I select 'File Upload' I don't then get any further options like your post implies, and when I then try to upload an image it is still only allowing one at a time. Should the widget actually read: FUpload?

When I went to the module list FUpload appeared loads of times and I wasn't sure which ones to enable. Could you possibly tell me which ones you have enabled? Thanks :)

Tweetinat’s picture

Realised my error - needed to use a later version of FUpload... Can now upload multiple images to a gallery, but they all end up with the same title and in the same gallery and no amount of changing the field settings to 'editable' makes any difference. Could someone pls explain how they managed to get it to allow uploads to multiple galleries? Thx.

k_and_j’s picture

I'm getting error 503 when I try to upload images. Any ideas on troubleshooting?

DocMartin’s picture

I upload each batch to a certain gallery
Then edit the titles, descriptions via the "next step" button
Don't know re 503!

markconroy’s picture

I've gotten this far, and clicked on "Next Step" and my images show up labelled "Image 1", "Image 2" etc., but there is no option to edit them, only the "Done editing" button.

Help?

markconroy’s picture

I've worked it out. Under where you choose FUpload as the widget, and 'one image per node', there are options to tick for what fields you want editable. Check the necessary ones, and off you go. Simple.

Scott J’s picture

Here is a new Plupload integration module to upload multiple files. It is available for Drupal 6 & 7, and is already in use by Media Gallery.

KarenS’s picture

Status: Active » Fixed

I think I can close this now. Views Gallery isn't going to do anything special about this -- we just created an image node and an image field and you can populate it the same way you would any other imagefield.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

TimelessDomain’s picture

Even though Views Gallery isn't going to include this feature in the module, we should note which bulk upload methods work in the views gallery documentation

D6
- Fupload
- swfupload?

D7
- plupload + ?
- Media Gallery? (idk if this integrates with views gallery)
- ?