I don't know whether any one has seen this or not, but someone modified ImageX to work with Views Gallery. Right now it DOES indeed work, but it's not fully integrated yet. It doesn't, for instance, respect the setting for the ImageField in the Image content type.

Would somebody mind looking at the code and tell me how to modify it to work? It would be great if we could get it to 1) upload images to a certain path and 2) resizing them according to the settings in the ImageField.

I'm not really a Drupal novice, but I fear this is WAY above my paygrade...

I apologize if this is not the correct place to post this, but I'm at a loss as to where exactly this should go.

CommentFileSizeAuthor
#1 vguploadx.zip76.58 KBH3x

Comments

H3x’s picture

StatusFileSize
new76.58 KB

Sorry, forgot to include the actual module. Find it attached. It can be found at http://www.monsworld.com/blogs/drupal-modules/views-gallery-drag-and-dro.... All credits to wildcats1369

karens’s picture

I tried this out and it works reasonably well in Windows but I cannot get it working at all on a Mac. There is no project site or issue queue where I can report this and I have no idea what the problem is.

I someone can figure out how to get it working on a Mac, I would be happy to help get other issues resolved.

H3x’s picture

We really need to get this module listed here and created an issue queue. One of the biggest critiques against Views Gallery is that it doesn't allow for batch uploading; this module has the potential to solve that.

Macronomicus’s picture

use image_fupload http://drupal.org/project/image_fupload it works quite nice and allows you to enter titles and descriptions for each image just after the bulk upload.

The only thing I couldnt get to work outta the box was the redirect after completing the mass upload & editing the titles descriptions. But I was able to knock it into shape with the Rules module .. I just created a triggered rule that redirects the user to the Node being referenced instead of back to the upload form.

AntiNSA’s picture

Priority: Normal » Critical

Please tell me.. how did you :. I just created a triggered rule that redirects the user to the Node being referenced instead of back to the upload form." "?????? I have rules installed and trigger... but am unsure how to do this...

Macronomicus’s picture

I used a triggered rule ursite.com/admin/rules/trigger

Go to ursite.com/admin/rules/trigger/add

Here is what I used .. ymmv
Rule Settings
Label: Compete Adding Images to Gallery
Event: Node > After updating existing content
Then check |This rule is active and should be evaluated when the associated event occurs.|
Click |save changes| which takes you to the next step...
Rule Elements
Click on |Add a condition|
Select the condition to add: Node> Content has type
Click |next|
leave everything as is except you need to select Image in content types..
Content Types: Image
Click |save|
Now click |Add an action| underneath "Do"
Now then next step appears
Select an action to add: Load a referenced node
Now click |next|
This page shouldn't need to change but you should make sure the following is correct.
Field: field_gallery
Now click |save| takes you back to the main trigger edit
Now click |Add an action| underneath "Do"
Select an action to add: System > Page redirect
Now click |next|
Only couple things needed here... you will need token module too for this part
look in the Token Replacement patterns shown on this page to find what you need in the To field below..
To: [node:field_gallery-path] --you might also try [referenced_node:field_gallery-path] that seems to be a new one!
Check "Force redirecting to the given path, even if a destination parameter is given"
..also make sure the Weight is 2 or 3 or at least higher than the other actions you previously made in this rule

So thats what I did .. it seems to work well .. though sometimes at first if I upload too many images it seemed to break and send the user to the node/add page, however it seems some recent fixes to one of the modules may have fixed that since I havnt been able to "break" it again.

Good luck!
Cheers!

karens’s picture

Title: Visual Upload X » Upload multiple images

The original issue is a custom module that does not work on the Mac, so that is a no-go unless someone can fix that. After that the issue starts to refer to another method of doing this, so re-naming it.

Not sure there is anything to do except leave it here for reference.

karens’s picture

Status: Active » Closed (duplicate)