I have created a custom content type using CCK. This custom content type also includes the imagefield cck module which allows you to add pictures to this type of node. I am working with four csv files that I edit using excel. They are:
node.csv
node_revisions.csv
content_type_profile.csv (the custom content type that I created with CCK)
files.csv
Each of these files represnets a MySQL database table. These csv files contain large amounts of data that I import directly into the database using PHPMyAdmin, rather than entering the data through the web browser. I have got everything importing fine, except for the pictures. The two tables that deal with the pictures include the content_type_profile table and the files table. The content_type_profile contains several fields:
vid
nid
serveral misc fields that are irrelevant to my problem
fid
picture title
picture alt
The fid is the file ID of the picture.
In the files table there are the following fields:
fid (same ID as the fid in other table)
nid (same ID as the nid in the other table)
filename
filepath
filemime
filesize
So, I upload the pictures to the file server, I fill in these tables, making sure that the IDs match up between the two but when I go to view the newly created content, the pictures do not show up. If I add a picture through the drupal interface, they show up fine.