Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.0
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2011 at 09:53 UTC
Updated:
19 Jun 2012 at 21:01 UTC
I want to be able to allow the user to upload a .zip file through some other module maybe (?) and then I want to run a script straight away (is this done through triggers?) which will add the corresponding entries into the DB which would create a gallery and add the appropriate pictures, i.e. create a new node of type node gallery.
The user will upload this .zip file which will have pictures with some extra information.
Anyone know how to do this? I just want to automate the creation of the node with all the pictures.
I'm using Drupal 6.
Thanks.
Comments
Comment #1
chadchandler commentedHey DanishK,
I used the Migrate module to import content to be gallery nodes.
I then used the migrate module to import actual photos to be gallery_image nodes.
When this was complete, I wrote a small php script that updates the node_gallery_images table and gives entries for the nid and gid(gallery id).
Comment #2
zengenuity commented