Import MANY Images into ONE Imagefield

Jan Krummrey - January 23, 2009 - 10:14
Project:Imagefield Import
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:wulff
Status:active
Description

Hi,

first of all thanks for the great module. Mass-uploading of images is still a wakness of imagefield.

I was wondering if it were possible to upload many images into one Imagefield and not into many nodes with one image per field. Would that be hard to implement?

Jan

#1

basicmagic.net - February 3, 2009 - 06:02

subscribe

#2

anantagati - February 8, 2009 - 18:27

subscribe

#3

LEalex - February 10, 2009 - 14:19

subscribe

#4

momper - February 17, 2009 - 17:35

subscribe

#5

dan.crouthamel - February 21, 2009 - 03:45

Would be nice :)

#6

SpatnyNick - February 24, 2009 - 22:44

Yes, for me it was expected behavior :-)

#7

SpatnyNick - February 25, 2009 - 14:56

I have done some changes to this excellent module, maybe someone could use them too so I am sending a patch.

- images are all loaded into one node only, not one image one new node
- thumbnails with link on importing page
- added a checkbox to decide whether you want to delete source files or not
- after the node creation you are redirected to it's edition page
- you can define node title
- node's author is now filled before saving

Thumbnails will not work if absolute import path is defined, relative path required. I didn't tried to use taxonomy and it probably will not work too. Image's titles don't works when importing, you have to define them in the standard way in edit node page.

Hope this helps.

AttachmentSize
imagefield_import_onenode_thumbnails.patch 10.36 KB

#8

dan.crouthamel - February 25, 2009 - 18:16

Thanks - this looks like good. I was playing around with the jifupload module, but I think I prefer this :) Gave it a quick test and it works well.

Note - you have a call to dsm(). You should remove that :)

#9

vordude - March 6, 2009 - 02:00

I haven't yet looked this patch over--

But it seems like a good idea from the outset.

The module works as it does currently, because it was essentially ported from the old school image module.

I think we need to allow the user to perhaps choose to do either 'one image per node' or 'Import all of these images into one node'.

Thoughts?

#10

dan.crouthamel - March 6, 2009 - 18:57

I would agree with that - there should be some sort of configuration option.

#11

wulff - November 21, 2009 - 12:03
Version:6.x-1.3-beta1» 6.x-1.x-dev
Assigned to:Anonymous» wulff

This could be a nice feature. Marking as a feature request for the dev version.

 
 

Drupal is a registered trademark of Dries Buytaert.