an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 12/24/2008 12:41:23 PM By lukezy. 1 replies.
12/23/2008 9:49:11 PM
quarterhorses
Posts: 27
Joined: 8/23/2008
Import Images
I have been working on a custom import program and I am stuck. I have been trying to use the DSC code when possible, but I haven't found where an image is stored in the database. When the stored procedure DSC_Product_Add is called, the image is already in the database and the @ImageIds is passed. Where in the code is there a function I could call with my custom import program to import my images?
12/24/2008 12:41:23 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Import Images
The bulk import feature is implemented in V3 which will be released within a month.
 
If you want to add image to database, please check web\admin\controls\uploadfiles.aspx.cs.
 
int imageId = DbImage.Add(GetImageBits(imageFile.InputStream, imageFile.ContentLength), imageFile.ContentType);
DotShoppingCart Staff