Populate Images

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Populate Images

Post by pbrad »

Hi,
I am working on an online catalogue with several hundred products where I want to display a product image for each product. Is there a way to populate the database with the images without having to upload them all in operation mode one at a time? When exporting the 'Products' object the 'Photo' attribute is not exported, when viewing the database directly, it is a 'blob'. Is there some way to enter the name of the image into a query and have it upload them to the server directly?
Thanks,
Pete
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

Hi Pete,

There are two ways to import pictures without using forms. One is to use image file names in rules. The initialization process in Library sample application uses this approach to load item images.

The other is to load images when importing data from CSV files (probably more suitable for your task). The image should be converted into textual representation, which can be done using various utilities. The initialization process in Ordering sample application uses this approach to load product images.

You should also be able to export picture attributes with the standard Export command. You need to indicate you want picture attributes included when exporting (it is off by default).
Aware IM Support Team
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Post by pbrad »

Perfect, Thanks very much.
Pete
Post Reply