Active
Project:
Node import
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Apr 2009 at 21:01 UTC
Updated:
22 Oct 2012 at 17:26 UTC
On a website with more than a few thousand images one must ensure that the image collection is layed out in a hierarchical directory structure to ensure good file-system performance. The CCK, FileField, and ImageField modules integrate with the Token and FileField_Paths modules to allow the images to be saved and accessed in a hierarchical directory structure. However, when importing nodes using the Node_Import module, Node_Import does not perform the token substitutions as specified by FileField_Paths.
Using:
Drupal Core: 6.10
MySQL: 5.0.51a
PHP: 5.2.9-1
Contributed Modules:
cck-6.x-2.1, filefield-6.x-3.0-rc1, imagefield-6.x-3.0-rc1, token-6.x-1.11, filefield_paths-6.x-1.0
Comments
Comment #1
Sthenidas commentedComment #2
malukalu commentedsubscribing
Comment #3
cyberwolf commentedSubscribing.
Comment #4
chrowe commentedI posted my issue at http://drupal.org/node/374352#comment-2134624 but have just confirmed that this is my main issue.
As I said in my other post
I have some developers who can take a look at this next week. If you can point them in the right direction that would be wonderful. Or I can pay for your time if you can give me an estimate of what it will take.
Thanks again,
Chris
Comment #5
ak commentedSubscribing …
Comment #6
aelling commentedThis is something that I have noticed /experienced as well. The provided file path (with or without token substitutions) as specified by FileField_Paths is ignored during node import thus you have to manually specify a path in the csv if you want a specific structure to your image path file structure. Would be a great addition if the supplied path (token or just a regular path) were recognized by node import.
Comment #7
finex commentedI'm experiencing this problem too.
Currently node import uses the first value configured for that file field. If the file field is shared between multiple node types, the file field path is the one from the first content type configured.
Comment #8
Robrecht Jacques commentedComment #9
dallasw1983 commentedWould it be doable to have the images saved to a tmp static location then write some code to process the files and add them to the file field paths?
I'll write some code but I don't know much about the functions to use to make it drupal friendly. My method is write database changes. Only been working with drupal and PHP for about a year :\