Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Browser product image


midpen

Recommended Posts

Posted

When adding a new product in catalog,

 

The product image is browered from local drive and automatically loaded it into /images folder.

 

I want to save it in the sub-folder: /images/productsimage.

 

I found the original products are in the sub foler such as /images/microsoft, they are working fine.

 

How about my new added products? How to upload the image in order to save it in /images/productsimage folder?

 

Thanks.

Posted

When adding a new product in catalog,

 

The product image is browered from local drive and automatically loaded it into /images folder.

 

I want to save it in the sub-folder: /images/productsimage.

 

I found the original products are in the sub foler such as /images/microsoft, they are working fine.

 

How about my new added products? How to upload the image in order to save it in /images/productsimage folder?

 

Thanks.

 

I'm not sure the best way, but if you use an upload program like Easy Populate.

You can create the directory, upload the images to that directory and then point to the image location in the upload file as /productsimage/image_name.jpg

Since you probably have your image location set in your configuration file to /images/ you don't need to include that in the location.

 

There maybe another way to do it, but I started using upload programs a long time ago and just got used to them.

Posted

Thanks. I did not see anywhere in configuration could setup image auto upload lacation.

 

There is no problem to save images to the sub folder /images/prodcutsimage

 

But when I add a new product, I put such as: /images/prodcutsimage/blue.jpg, in the "Browse" box, it does not work. It has to be browsed from lacal drive then it automatically loaded it into /images folder.

Posted

Right midpen.

 

 

I understand what you want to accomplish. I just don't know how to do it without using a third party program. Or direct MySQL interaction.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...