1. I know that from admin i can change the size for all thumb pictures.
2. But how to make bigger images only on the product page and i am not talking about additional images section....
3. can anyone explain to me where $thumb variable is defined as i made search in almost all php files but i cannot find $thumb declaration...

now the code:
I know that product.php is the file responsible for displaying product information on the screen and product.tpl is the template for it which says:
Code: Select all
<div id="product">
<div class="a"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>"></a><br>
<?php echo $text_enlarge; ?></div>
now i want open cart to:
1. Prepare for me medium sized image
2. generate for it path that will be stored in $medium variable which i can call in this place and simply have the code like this:
Code: Select all
<div id="product">
<div class="a"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $medium; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>"></a><br>
<?php echo $text_enlarge; ?></div>
(I am runing Opencart 0.7.9 RC4)