Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Picture Enlargment


babakm5

Recommended Posts

Hi,

 

how does the "picture enlargment" function work on these websites?

I mean I have tried to fix that by putting smaller pictures but it didnt enlarge more than the original size and when I switched it to bigger size pictures, it would NOT look good on the website as the pictures are too big in their original sizes before enlargment I mean!!! :(

 

appreciate as usual :)

thank you

Link to comment
Share on other sites

I always used a large image, say 500 x 400, for the large picture and then the website would size that down for when it shows thumbnails. Did you setup the thumbnail settings in Admin setup? I forget which category it is (near the top). Maybe you haven't set that up?

Link to comment
Share on other sites

I always used a large image, say 500 x 400, for the large picture and then the website would size that down for when it shows thumbnails. Did you setup the thumbnail settings in Admin setup? I forget which category it is (near the top). Maybe you haven't set that up?

 

which one do you mean?

 

Images

 

Titel

Enable Additional Images? enable

Calculate Image Size true Info

Image Required false Info

Heading Image Width Info

Heading Image Height Info

Subcategory Image Width Info

Subcategory Image Height Info

Additional Thumb Width Info

Additional Thumb Height Info

Small Image Width (used in product list) Info

Small Image Height (used in product list) Info

Medium Image Width (used for product info) Info

Medium Image Height (used for product info) Info

Large Image Width (Pop-up) 0 Info

Large Image Height (Pop-up)

 

the only thing I can imagine you meant was those two high lighted but I had even tried those but no success!!! :(

maybe I didnt do it right, though!!! :blush:

anyway, appreciate if you can help me with this! :)

 

thanks

Link to comment
Share on other sites

I don't have all of those, but here's my settings which work good for me:

 

Small image width: 150

Small image height: 120

 

Now, these settings assume that your large image will have the same "aspect ratio" of 150 x 120, such as 450 x 360. If your original image does not have the same aspect ratio, it may look funny as a thumbnail. I think I also added some code to flip the demensions if the input image if it's portrait. The aspect ratio is always the same, but if portrait (360 x 450, as opposed to 450 x 360) my code would know this and swap the demensions.

 

Subcategory image width: 100

Subcategory image height: 80

Calculate image size: true

Image required: true

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...