Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

small and big image


Recommended Posts

I want option of adding a large image and displaying it when user clicks

on small image.

 

added a column in products table for url called products_image_big varchar(64)

also created a dir bigimage to store bigimages.

 

need to modify categories.php to upload the large size images into dir and

also code to display it have not checked yet code in which file to display it.

but the code is bit difficult for a person new to php.

 

i dont want to upload a large image and show it as a small image due to bandwidth limitations as

oscommerce by default normally does this.

Link to comment
Share on other sites

What you are looking to do is built-in. You just upload the one large image size and use the settings in admin->Configuration->Images to control the size of the smaller size.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

What you are looking to do is built-in. You just upload the one large image size and use the settings in admin->Configuration->Images to control the size of the smaller size.(this only controls the image view size memory it takes is still of the large sized images eating precious bandwidth.) you can check it out by right click on image property.

 

Jack

 

 

 

when a small image is viewed actually a large size image is loaded by defualt in memory by oscommerce . which eats up loads of bandwidth specially for users on 56k telephone modem. a large image and small image should be loaded seprately.

to increase site efficency.this is a serious drawback of oscommerce easy thing is to upload a small size image only when a user double clicks to view a large image only a small image will appear.

Link to comment
Share on other sites

  • 4 weeks later...
I want option of adding a large image and displaying it when user clicks

on small image.

...

 

i dont want to upload a large image and show it as a small image due to bandwidth limitations as

oscommerce by default normally does this.

 

I'm one of those poor saps stuck with 56K dialup. :(

 

I used this contribution - Big Images 1.25 by Jan Skopek

It was easy to install and works fine

 

:thumbsup:

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...