Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image_gallery
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2009 at 04:51 UTC
Updated:
18 Aug 2010 at 16:53 UTC
hi,
I have a gallery setup and when i create or edit an image I can add it to the gallery, but how can i add a batch of existing images to a gallery without having to edit them one by one? and also, how can i have attached images to a node of a certain content type be automatically added to a certain gallery?
Thanks.
Comments
Comment #1
joachim commentedInvestigate contrib modules that let you make batch taxonomy operations. Galleries are just taxonomy, after all :)
For attached images, I'm less sure. There used to be a field in Views on D5 for that, not sure on 6.
Comment #2
Hetta commentedI'd go with a sql statement, run directly against the database ... after a full backup, of course.
Comment #3
problue solutionsThanks for the replies guys, Im quite technically minded and have a very basic understanding of php and sql, but not to the extent hat id be confident making changes like this.
I installed 'views bulk operations' and got the view to display the nodes i wanted to operate on, I selected all the nodes and tried to peform the 'Modify node's taxonomy terms' operation, but received the error message "The selected nodes are not associated with any vocabulary. Please select other nodes and try again". As far as i can see using this module i can only associate the nodes with terms and not vocabularys, which needs done first it would seem. Didnt think it would be this complicated to do something very simple! Anyway, this has nothing to do with the image modules but thanks for the imput anyway guys :)
Comment #4
joachim commentedWeird.
Any image node should be able to get an image gallery term. Can you give one of those nodes that term when you edit it normally? If so, sounds like a bug in VBO.
There's this: http://drupal.org/project/taxonomy_node_operations but only for D5.
Comment #5
problue solutionsYeah i can edit them individually no problem, but VBO only has the option to bulk modify the term and it wont do that because all the images seemingly arent in the image gallery vocabulary.
I'm basically just looking a simple gallery using a lot of pre-existing images, the problem im having is that i need to filter the images in such a way that the only ones being displayed are ones that are attached to a paticular node type.
I'll just have to keep investigating more bulk taxomony modules for D6 i guess
Comment #6
joachim commentedSounds like a bug in VBO.
There's a D6 version of taxonomy node operations here: http://drupal.org/node/247456
Comment #7
problue solutionsnice one, thanks :)
Comment #9
mcjim commentedJust run into this myself. Looks like it works if you set up your VBO view to have at least two bulk operations. So, when you set up your view, select at least one other (random!) bulk operation. Then, when you view your view, you can select the taxonomy one.
Comment #10
MamaGubs commentedIf you are using content taxonomy field, you should just choose "modify node field" instead of "modify node taxonomy terms" and it should work just fine.