Jump to content
Sign in to follow this  
Webstera17

Thumbnailing Headaches

Recommended Posts

How do people get the great looking thumbnails that aren't distorted? I am adding inventory to our site at www.tnpaintballers.com & if you look you will see the thumbnails are all horrible.

 

 

-Jason

Share this post


Link to post
Share on other sites

Make sure all the images are 100 x 80 pixels for the main thumbnails , or a multiple such as 200 x 160, etc.

 

Some of the thumbnails (eg. category) are 100 x 57

Share this post


Link to post
Share on other sites
How do people get the great looking thumbnails that aren't distorted? I am adding inventory to our site at www.tnpaintballers.com & if you look you will see the thumbnails are all horrible.

 

 

-Jason

 

Put the size you want only to the Height, not to the Width. For instance, to have a large image show up, instead of a thumbnail find this code in product_info.php (it will be stated two times):

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

Simply change both instances to:

 

SMALL_IMAGE_WIDTH, /*SMALL_IMAGE_HEIGHT*/300

 

(the 300 can be any maximum size that you want the height to be).


"When I figured out how much the computer reflected my mind, I realized that code is a form of reality."

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×