Jump to content



Latest News: (loading..)

- - - - -

make the smaller in product info page


  • Please log in to reply
4 replies to this topic

#1   ianhaney

ianhaney
  • Members
  • 851 posts
  • Real Name:Ian Haney
  • Gender:Male

Posted 26 April 2012 - 11:27 AM

Hi

I use 2.3.1 and was wondering is it possible to make the image smaller in the products info page using coding and not have to reduce each image size using photoshop

Thanks in advance

Ian

#2   ianhaney

ianhaney
  • Members
  • 851 posts
  • Real Name:Ian Haney
  • Gender:Male

Posted 26 April 2012 - 12:43 PM

problem solved just had to look in the product_info.php page to reduce the image size and add a margin-left to the style sheet for the piGal img

#3   gaynorti

gaynorti
  • Members
  • 9 posts
  • Real Name:Gaynor Tilley
  • Gender:Female

Posted 15 May 2012 - 09:59 AM

This sounds like the same problem I am trying to solve.
I want to reduce the size of the product image in the product info page when there is only one product image available, but retain a large image for the popup (version 2.3.1)
Can you tell me specifically where to add the image sizes on the product info page please?

#4   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,085 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 15 May 2012 - 02:35 PM

Search for

<script type="text/javascript">
$('#piGal ul').bxGallery({

in your products_info.php, and just after that you will find the sizes.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#5   hopper91

hopper91
  • Members
  • 11 posts
  • Real Name:Andrew Lee

Posted 29 June 2012 - 04:25 PM

hi guys i tried changing the code around but nothing..... any suggestion just want the product info product to be small so when click pops out bigger?
here is my edited code in product_info.php

<script type="text/javascript">
$('#piGal ul').bxGallery({
  maxwidth: 55,
  maxheight: 55,
  thumbwidth: <?php echo (($pi_counter > 1) ? '55' : '0'); ?>,
  thumbcontainer: 55,
  load_image: 'ext/jquery/bxGallery/spinner.gif'
});
</script>