Hi all,
Im sorry if this has been discussed before, but I am really interested in this feature... Is it possible to upload more than just 1 image using image module?
Like, when a user goes to "Add content->Image", I want to have let's say 5 input boxes with "Browse" button next to those, and user could upload 5 images all at once that way. Wouldn't that be cool or what? :) Think about user created galleries for community sites.... Users dont want to do the same thing for 10 times if they have 10 images to upload to their gallery.
So.. I am not looking for this in image import module, or imagefield cck..... My images have to be actual nodes that any user can upload.... So that's why I would like to see a feature for users to upload several images all at once.
If this hasn't been implemented yet, I am willing to help, just need to point me where to look at in the module (haven't looked at it yet).
Thanks for reading and maybe replying,
k.
| Comment | File | Size | Author |
|---|---|---|---|
| #28 | image_upload.php_.txt | 4.03 KB | ambip |
Comments
Comment #1
solimeno commentedI'd like to second this feature request ... it would be a great addition to the functionality of the module. It would also be nice to have a checkbox to indicate if the user wants to upload all images into a single gallery, or if left unchecked then the user needs to specify a gallery for each image to be uploaded. This would streamline organizing images into existing galleries at the point of uploading them.
Also would it be possible to allow users to create a new gallery (or galleries) at the same time? For instance if I want to upload 5 images and place 2 of them in an existing gallery but then simultaneously specifying for the other three files to upload that they will go into a new gallery. So enter a new gallery name and upload the specified images into the new gallery (or galleries).
Thanks to all developers of this and related modules for the GREAT WORK you have done!
Comment #2
nancydruFirst, Image import does already support uploading more than one image at a time (and, BTW, so does AcidFree - in two different ways). And the images are created as individual nodes, with taxonomy capability.
@kalashari - I think you're acually talking about the upload (core) module rather than Image.
@solimeno - great idea! But a lot of work to do this one. And it really should be separate feature requests: 1) specify taxonomy on the upload; 2) open up taxonomy creation (possibly free tagging) to the user (which Acidfree does); 3) alllow 1 and 2 at the same time.
Comment #3
nancydruOh, BTW, 1) can get messy real fast: All of my images have at least 4 vocabularies assigned to them.
Comment #4
drewish commentedmarked http://drupal.org/node/170562 as a duplicate
Comment #5
Snow Valley Consulting commentedimage import allows those who have access to the FTP Server to upload multiple images at once.. but not a regular user.
I KNOW that images aren't added to my site as often as i'd like because of the 1 image at a time upload functionality of the image module.
Don't we all want more images being added to our sites by users?
This functionality should be top priority, as it is a standard of many other image uploading websites already.
JMHO
Comment #6
wwwoliondorcom commented"Don't we all want more images being added to our sites by users?"
Yes it would be nice!
Comment #7
icecreamyou commentedSecond-ed, or third-ed, or whatever it's called.
If this functionality already exists, I have no idea where it is or how to use it. :/
Comment #8
swimswimswim commentedImage Import is an additional function of the Image module. One can not upload multiple images with it but it does offer a fair compromise. It allows you to create a bunch of photos at a time (if they were FTPed to the Drupal site before hand.)
Install Image.module and then follow these directions.
1.) Go to (www.example.com/admin/build/modules)
Admin --> Site Building --> Modules -->
2.) Enable Image module. Click Save Configuration.
3.) Enable Image Import module. Click Save Configuration.
4.) Go to (www.example.com/admin/settings/image_import)
Admin --> Site Building --> Modules --> Administration By Modules Page --> Import Image
See if import path is okay.*
5.) Use an FTP program to upload 23 photos of silly cats into www.example.com/files/images/import
6.) Go to (www.example.com/admin/content/image_import)
Admin --> Content Management --> Image Import
Witness the magic!
*If the server was unable to create a new directory, use an FTP program to chmod (change permissions) of files/images/ to 777 and try again. After files/images/import has been created, chmod files/images back to what it was before.
Comment #9
icecreamyou commentedUnfortunately that's only a valid option for the administrator, not a standard user with no FTP access.
Comment #10
Leeteq commentedMany normal users expect this and are discouraged if forced to upload one by one.
Comment #11
softtouch commentedYou are all quiet correct. Just a few moments ago I got the question from a new member "how can I upload more then one image?"...
Comment #12
softtouch commentedAny simple forum offer this feature... and a CMS or whatever drupal is, which is used by many for multimedia, should have this too....
Comment #13
amy_cgi commentedsubscribing
Comment #14
amy_cgi commentedsubscribing
Comment #15
Leeteq commentedThere is already code to upload and extract a zip file to a server folder in the Gallerix module.
From there, the image import can get them into the galleries.
Maybe these modules should be combined?
Then we would have a nice alternative view of the galleries too (AJAX), although I prefer the way the Image module stores each image in a separate node, so that they are available for individual use by other content and modules.
Comment #16
softtouch commentedThe difference is, in most galleries, where you can upload multiple images, you only select the images, upload and thats it, they go straight to a gallery.
In drupal, each content type usually has a title, and a body. If you want to upload 3 images at once, you would have to enter also 3 x a title etc.
It would be possible if the title would be set based on the filename automatically, so the user just select the images to upload. He can anytime edit the titles later if he need to.
Comment #17
icecreamyou commentedThat's a good point. Because each image becomes a separate node, it would have to be possible to create multiple complete nodes all at once.
Comment #18
nancydruThis is possible; the Quotes module does it, using a placeholder in the title. There are also automatic titling modules.
However, file uploading is not the most flexible thing there is. That's why modules such as Image Assist want the files already uploaded.
Comment #19
softtouch commentedI believe, with the current upload system of drupal, its hard to do.
I think, we would need to create our own upload function, using php, bypassing the drupal upload module.
Comment #20
Leeteq commentedIf the upload feature of the gallerix module was combined with the image import feature of the image module, you will get full flexibility.
The gallerix module has the option of offering several uploads at once (not only zip files, but single photos etc. also), and when a zip file is uploaded it extracts it automatically. If you set the image import folder to look for files in the folder where gallerix does its unpacking, then the image import feature will offer you to enter a title and body text for each of the images found, then importing each one as its own node to a specified image gallery.
Seems like it is just a matter of combining some pieces of existing code to get a proper solution with all options in one module.
The gallerix module has a repository folder that should be possible to use as the source for image import, but due to what seems like a bug, the photos I tested with did not remain in that folder when I chose not to clear it in gallerix settings. So I tested with pointing the image import function to the "original" folder inside a specific gallerix album. That worked, but since the Gallerix module is designed on a per-user basis, it will only work on subsequent uploads to that specific album for that user (that user must be logged in if gallerix zip upload extracts should work towards that folder). This should be fairly easy to work around though.
Comment #21
Leeteq commentedfyi - just posted a "feature request":
"Combine Image module and Gallerix module"
http://drupal.org/node/236280
Comment #25
PRN Admin commentedsubscribing
Comment #26
Hetta commentedduplicate of http://drupal.org/node/180616 , which has a working ? solution (with javascript).
Comment #27
bflora commentedYou guys should really check out the js applet that he's got working over there. It's working fine, it just need some UI work.
Comment #28
ambip commentedIt's not working properly Ple help me..
Thanks