I am developing a Drupal site where I have a custom content type called "station" and a custom content type called "photo". The "station" content type has one field called description and another field called "photos". Each "station" can have zero or more "photos" associated with it. The "photo" content type has a description field (TextField), a FileField of image type that holds a thumbnail view of the photo and a Link field that allows the user to download the full version of the photo. I have all of the data for all photos in a CSV file and have tested importing it a few times using the node import module, but I can't figure out how to get the Drupal site to automatically create the zero to many relationship between the "station" custom type and the "photo" custom type. Any help would be greatly appreciated.

Comments

promes’s picture

I advice you to use the taxonomy and the image module.
In the taxonomy you define all your stations. In every image node you set the station(s) to which your photo belongs.