Author |
Post |
|
#1 Fri 27 January, 2012 19:07
|
Member
Registered: Jan 2012
Posts: 9
|
My customer uses an inventory management system that does supply a nice .csv file and I have figured out how to map the columns to the data-map. This .csv file also has a column with the links to the photos stored on the inventory management programs main site. This is very nice as he does not have to worry about hosting the photos anywhere. My question is how can I make use of this photo information and get it into AutoDirectory automatically like the rest of the .csv file is used, I am having trouble coding the [image_files] entry in the profile.ini. Below is an example of two photos provided in the .csv file, note they are separated with a "," symbol and ended the same way. Thanks for any directions on this. http://www.frazerphotos.com/photos/17/17878/17878_10011TB5_1.JPG,http://www.frazerphotos.com/photos/17/17878/17878_10011TB5_2.JPG,
|
|
#2 Sat 28 January, 2012 16:46
|
Administrator
Registered: Apr 2008
Posts: 324
|
Hi hootiekai, The AutoDirector import wizard only imports image files which are stored in a local folder rather than accessed via http through a web server. If the files are on the same server there's no reason why you couldn't move or reference them locally. Alternatively, you can put references to the images in the "more info" field. I hope that helps. _______________ AutoDirector administrator
|
|
#3 Sun 29 January, 2012 21:25
|
Member
Registered: Jan 2012
Posts: 9
|
Thank you Craig for the info. Hate to ask this for showing my ignorance, where do I edit the "more info" field.
|
|
#4 Mon 30 January, 2012 8:33
|
Administrator
Registered: Apr 2008
Posts: 324
|
Hi, You need to define a profile file in the import/profiles folder. Assuming you had a single photo defined in column 12 of your CSV, you'd need a line such as: info = "!([12])" AutoDirector permits images using the code !(imgurl) so you're just using the content of column 12. If your column contains multiple images, the ini file can contain PHP commands to split them up. I hope that helps. _______________ AutoDirector administrator
|
|
#5 Tue 31 January, 2012 21:04
|
Member
Registered: Jan 2012
Posts: 9
|
You RULE Craig. Thank you for your support.
|
|
#6 Wed 1 February, 2012 8:09
|
Administrator
Registered: Apr 2008
Posts: 324
|
You're welcome. _______________ AutoDirector administrator
|