Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why are my thumbnails squashed up? is there an alternative to inlarged pop ups?


skywalker786

Recommended Posts

Posted

Hi

 

Have a look at this page:

 

http://www.manythnx.com/product_info.php/c.../products_id/31

 

1. I have upload a 500 x 500 image which is a square size, why have osc squashed the paiting?

1b. the rectangle painting have been squashed to a box

 

 

b. can I increase the size of the thumbnail?

c. when I click to inlarge thumbnail it produces a pop up smaller than the painting how do i increase the pop?

d. is there an alternative to the pop up?

 

S.

Posted

You need to know those images are way to big for what you are doing. I have a good high speed connection and your image loads are very slow.

 

When you upload an image in stock osc thumbnails are not created. The thumbnails are full images resized via the setting in admin which you must know about because you have changed it. The settings are called in the code like:

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

so your image is forcefully getting made smaller. This is not all in all a good thing because while the image appears smaller the entire full size image must be downloaded to the client machine and then made to appear like they are small images.

 

One of your images I looked at on a product page was over 420k. Now you put 10 of those on a page and you may as well go out for drinks while you wait for the page to load. You should "fix up" your images before you up load them then set only one image size in admin, either width or height.

 

About the popup...

 

I hate popups just because they are popups and the various browsers handle them differently and depending on whose add on tool bar you have running they may not get displayed at all.

 

The easiest way I have used, and in my opinion is much more presentable, is to simply create a new page to do nothing more than show off your big images. Once this is done change the popup image code in your pages to point to that page. It is fairly easy because you already have a product_id in the var_GET. Now you can center your image, change background color query for comment or other information, whatever. You now have full control of how your page loads and looks.

 

Another way is to use a click controlled hidden div Check out dynamic drive for several very cool scripts.

 

Another way I am seeing used more and more often is mouseover links that basically popup a tooltip window that is basically just another form of a hidden div.

 

Sorry I couldn't be of more help but thisshould get you started.

How do you know when you know what you want to do for the rest of your life?

Posted

Hey!

 

No fair. I just answered a post exactly like this one.

 

Do I have to do it again? For fun?

How do you know when you know what you want to do for the rest of your life?

Posted

Hi

 

I have reduced the size of one my images in photoshop (as anexample) so it is a thumbnail as they would appear in OSC, size is now 5.38 KB

I have also gone to the admin panel and under images just put the size of the height.

 

Now when I click on the thumbnail to inlarge it still shows me the small thumbnail instead of a larger version of the painting:

http://www.manythnx.com/index.php/cPath/22 (click on the painting: Wedding breal)

 

Manythnx

S

 

 

You need to know those images are way to big for what you are doing. I have a good high speed connection and your image loads are very slow.

 

When you upload an image in stock osc thumbnails are not created. The thumbnails are full images resized via the setting in admin which you must know about because you have changed it. The settings are called in the code like:

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

so your image is forcefully getting made smaller. This is not all in all a good thing because while the image appears smaller the entire full size image must be downloaded to the client machine and then made to appear like they are small images.

 

One of your images I looked at on a product page was over 420k. Now you put 10 of those on a page and you may as well go out for drinks while you wait for the page to load. You should "fix up" your images before you up load them then set only one image size in admin, either width or height.

 

About the popup...

 

I hate popups just because they are popups and the various browsers handle them differently and depending on whose add on tool bar you have running they may not get displayed at all.

 

The easiest way I have used, and in my opinion is much more presentable, is to simply create a new page to do nothing more than show off your big images. Once this is done change the popup image code in your pages to point to that page. It is fairly easy because you already have a product_id in the var_GET. Now you can center your image, change background color query for comment or other information, whatever. You now have full control of how your page loads and looks.

 

Another way is to use a click controlled hidden div Check out dynamic drive for several very cool scripts.

 

Another way I am seeing used more and more often is mouseover links that basically popup a tooltip window that is basically just another form of a hidden div.

 

Sorry I couldn't be of more help but thisshould get you started.

  • 1 month later...
Posted

What worked a little better for me was to go into your Administration ---->Configuration ---->Images ---and change your small image height to 0. This will help your thumbnails but not the large pictures.

 

Hi

 

I have reduced the size of one my images in photoshop (as anexample) so it is a thumbnail as they would appear in OSC, size is now 5.38 KB

I have also gone to the admin panel and under images just put the size of the height.

 

Now when I click on the thumbnail to inlarge it still shows me the small thumbnail instead of a larger version of the painting:

http://www.manythnx.com/index.php/cPath/22 (click on the painting: Wedding breal)

 

Manythnx

S

Archived

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

×
×
  • Create New...