You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How To change main product image to Larger size?

UserPost

5:18 pm
March 8, 2009


bennie

New Member

posts 1

1

I would like to make the product image larger, where can i do this in the css?

9:19 pm
March 9, 2009


Market Admin

Admin

posts 4756

2

That one isn't actually in the css file.  That one is located within the "single.php" file. 

Search for this code in single.php

<div class="mi"> <?php if($pli){ ?><img src="<?php bloginfo('template_directory'); ?>/phpthumb/phpThumb.php?src=<?php echo $pli; ?>&w=350&h=350&iar=1" alt="<?php the_title(); ?>" /><?php } else { ?><img src="<?php bloginfo('template_directory'); ?>/phpthumb/phpThumb.php?src=<?php bloginfo('template_directory'); ?>/imgs/no-image-available.gif&w=350&h=350&iar=1" alt="<?php the_title(); ?>" /><?php } ?> </div>

Within this code, are the height and width attributes for the images. (w=350&h=350)  You'll want to change both instances.

8:56 pm
April 20, 2009


Sashi

Member

posts 20

3

hi,

  what if each image is a different size, how can i make the code so that it takes the value its uploaded with and not get stretched or shrunken because its got a pre-described width and length? can i make is auto of some sort?

9:57 pm
April 21, 2009


Market Admin

Admin

posts 4756

4

Check out this post paying particular attention to post #4:

http://www.markettheme.com/forum/support-area/main-image-dimensions-ratio/



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.