Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When migrating to D7, I would like to transform my node galleries of yours to simple nodes this multiple images (from core).
And then, create some views to display all that. It will be OK for me.
Is there an upgrade path to do that?
If we have to make ourself the upgrade module, can you give some clue? How to prepare the database to do such a thing?
which database files to read ...
Or do we have better to export NG nodes with perhaps Feeds module?
Some advices would be appreciated.
Comments
Comment #1
Naturalist CreditAttribution: Naturalist commentedI have learned my lesson from this one. No more will I rely on 3rd party modules for images. Going core and doing it myself. This has been a fiasco. Node Gallery was great but I too have converted sites from Node Gallery to a single node that does it all with lightbox2. Cleaner, simpler and easier for all. No longer do I or anyone else have to create multiple nodes in order to do this. The trick is how to get image nodes into the image field for a node and flag that node as the gallery for those image nodes. I have one really really big site that will be the largest pain and I am not looking forward to it. D7 is fantastic! I am really surprised no one has come up with a solution for this or at least sharing it. It is much needed and would be greatly welcomed.
Comment #2
sahuni CreditAttribution: sahuni commentedWell, testing at lost times, I give my first conclusion :
migrate from NG 6.2... to NG 6.3...
Images become real imagefield field (cck field) that can be upgraded easily from D6 to D7.
After, I'm still looking to transform x nodes with unique image in 1 node with multiple images.
Comment #3
Naturalist CreditAttribution: Naturalist commentedThanks for this info!!!
As I stated above with D7 I was able to create a node type with 1 image field (1 pic) 2nd image field (multiple pics) set to lightbox 2. 1 node, main pic and gallery. All at one convenient location.
Comment #4
Naturalist CreditAttribution: Naturalist commentedHmm after doing upgrade to NG 6.3 I find cck image field is in image node and not gallery node. In order for this to work Galleries should have the images in a cck image field. I am going to try and upgrade to D7 but I don't think that I will be able to group images to a particular node. If that is the case then this doesn't work for D7 upgrade. Here goes.....
Comment #5
Prodigy CreditAttribution: Prodigy commentedIf I understand you right ...
You have a node-to-node photo gallery setup.
One parent gallery node(Album) w/ multiple child(image) nodes.
You want to convert to a single node doing all the work. Basically, one node with a image field set to multiple values.
In order to accomplish this, you're going to need a custom script. A well written custom script.
As crazy as it may sound, I'd look into creating a mapping document and doing this manually.
Your mapping should look similar to what I have below.
Parent Gallery NID: NID 343
Child Photo NIDs NID 344, NID 345, NID 346, NID 347
Parent Gallery NID: NID 573
Child Photo NIDs NID 574, NID 575, NID 576, NID 577
Comment #6
zengenuity CreditAttribution: zengenuity commented