Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to implement this function?


chuntse

Recommended Posts

Hi all!

 

I want to implement this function on my website.

while click the small image and display another enlarge photo.

 

it means that I need to upload two photos while I make a new product.

 

I think I need to do the following things:

 

1. Add a new field to the database

2. add a new function in the categories.php of administration to implement the upload another photo function

 

and....

 

it's very difficult to learn the source code of categories.php,because it's too much to read and take a long time to understand and sort the structure of this source code.

 

is there anyone can help me out of this trouble?

 

Thanks a lot for your afford

Link to comment
Share on other sites

Serach for 'image' in our contributions section  :D

 

Matti

 

Hi Matt,

 

Thank you for your help.

 

I tried to find the solution on the "contribution".

Only I can find for the product photos is this : http://www.oscommerce.com/community/contri...ons,2213/page,9

 

I mean one product has two different photos,one for the small photo(thumbnail) and another photo for enlarged photo.

 

But this above solution I found...I'm confused and cannot understand how it work..

 

Can you tell which code inside the catagories.php is for uploading the image for product and I can add another code to upload the another image.

 

where is the field of the product image store in the database?

where to moldify the link for enlarge the photo?

Is there any SQL sentence need to add to cataguories.php?

 

Hope can get the sulotion soon.......! :o

 

Thanks a lot!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...