Hi Anthony,
The product_image field is a container field, meaning that it stores the name of the image, while the image itself is stored on the file system. Hence there are a 3 parts to adding extra image fields.
1. Add the fields in the database as varchar columns (you've done this).
2. Update the fields.ini file for the products table so that these new fields' sections resemble that of the original product_image field. (particularly, you need to have:
- Code: Select all
Type=container
3. Let dataface know where you want to store the images. By default it will try to store them in the tables/Products/
directory. You have them saved in the same directory as the original product_image field if you like using the savepath directive.
4. It helps to have an associated field to store the mimetype for each container field also.
For details on how to add container fields like this you can refer to this how-to:
http://xataface.com/documentation/how-t ... le-uploads
Hope this helps a little.
-Steve