Quote Originally Posted by Gutable View Post
Hi everyboddy:

The problem I am having is that the data sheet from my distributor has 2 image fields one with the "directory path" and the second one with the "image name". In order to show the image in my site I need to combine the two fields as "directory path/image name". They also supply the image folder that matches the "directory path". The question is how I can combine the two fields to accomplish the results. This an example from the data fields.

Thank you

PHP Code:
v_products_model    v_status    v_products_image    v_products_name_1            this is the directory path
HMV
-VS-OD-XXL    ACTIVE    245-443373.jpg    Humvee Safari Vest Olive Drab XXL    apparel/men/jackets_coats/
HMV-VS-OD-3XL    ACTIVE    245-443374.jpg    Humvee Safari Vest Olive Drab 3XL    apparel/backpacks
If you are "hot linking" to their images, just ask them to provide the complete path. What I am understanding you to say is that they send some folders with the images that you require. If that is the case, then what I would do is to dump all of the images into your /images directory and be done with it. Then you would only have to paste the names into your EP upload. The only possible conflict would be if you had duplicated image names assigned to different images. Looks like the only reason they separate the images is so that different sellers will get just the images they need, and nothing extra. If you insist on keeping the images within the correct sub-folders, then it looks like a lot of typing (or maybe the merge utility if you can get it to work). It was explained a few posts back if you want to try it.