an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Development > DotShoppingCart OpenSource Core > Custom product images 30k of images in catalog
Last Post 8/20/2008 1:46:05 PM By lukezy. 5 replies.
8/20/2008 4:36:51 AM
webpro6030
Posts: 7
Joined: 5/28/2008
Custom product images 30k of images in catalog

Greetings,

I am wondering if it is possible to not upload images using the current system for storing product images. I have a catalog of over 30K of products and product images. The product images for my catalog are located on an image server. I can access three levels of images via a url. The way the system works as I see it, is that the product image is upload and stored in the sql database. The "imageId" is stored in the products table. I need to be able to reference each image via url for thumbnails and pop images. My database simply referenced the image name, (image.jpg) and then I use the three different url's to access different sizes of my images. I cannot use the imageid field as it is only for int and not text.

Has anyone encountered this problem and come up with a solution? If so, could you point me in the right direction for modifying the code or provide me with some same code. Thanks.

8/20/2008 9:33:07 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Custom product images 30k of images in catalog

DSC creates different sizes of thumbnails automatically as needed. I don't see any reason to keep an image server.

DotShoppingCart Staff
8/20/2008 12:47:14 PM
webpro6030
Posts: 7
Joined: 5/28/2008
Re: Custom product images 30k of images in catalog

Maybe I have mis understood how the image work with this software. I thought that the images were stroed in the database and accessed via an imageid field. My images are already resized for me all I have to do is access an url for each size image. My question was, Can I over ride this system within DSC and access my images via a url and a field in the database with the image name. If I have got this wrong about the software , please let me know and thanks for responding.

8/20/2008 1:01:21 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Custom product images 30k of images in catalog

Yes, the raw images are stored in the DB. The size of images will be recreated based on the configurations in the store admin. Basically you upload the big images to the server and the appropriate size of images will be recreated depending on where the images are displayed. Using a seperate image server breaks the way that DSC displays the images. It's not recommended to use an image server.

DotShoppingCart Staff
8/20/2008 1:10:24 PM
webpro6030
Posts: 7
Joined: 5/28/2008
Re: Custom product images 30k of images in catalog

Thanks for the info. My problem is that there are over 30,000 images for my catalog. Too many to upload. Can you point me in the right direction if I did want to modify DSC to access the image server. Thanks again.

8/20/2008 1:46:05 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Custom product images 30k of images in catalog

You can write a tool to bulk upload the images. I don't think you can change DSC to access the image server without breaking a lot of builtin features.

DotShoppingCart Staff