VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: olmos on July 18, 2012, 17:37:39 PM

Title: category picture bigger
Post by: olmos on July 18, 2012, 17:37:39 PM
Hello from Germany,

i use virtuemart 2.0.8e and have a problem  with the category picture.

(http://img580.imageshack.us/img580/5092/unbenannt2jg.jpg)


How is it possible to make it bigger ??? 200px / 200px

thank you.
Title: Re: category picture bigger
Post by: fllipper on July 18, 2012, 17:52:16 PM
Yes... Use the thumbs in virtuemart administrator, put the thumbs in 200X200

Go to products, change the url thumb to:......../images/....200X200.png, for example....


and test :)
Title: Re: category picture bigger
Post by: olmos on July 18, 2012, 18:10:50 PM
the right thumb picture was corretly but category pictures are small?????????

(http://img6.imageshack.us/img6/2214/unbenannt2xn.jpg)



and they config for thumb is correct:
(http://img805.imageshack.us/img805/4968/unbenannt2xud.jpg)


I don“t know?



p.s. the category row is set to 1 (smaller) but dont help.
Title: Re: category picture bigger
Post by: fllipper on July 18, 2012, 18:41:28 PM
I read in other forum that you need to delete all the "thumb" images that have another sizes...

I'm not sure that is correct, for me works like I said in the last post.

Hope this help you :)
Title: Re: category picture bigger
Post by: olmos on July 18, 2012, 18:49:16 PM
THX, I have read this too and done this.

Why are the category Images are so small ?????????? No way to change format?????


Title: Re: category picture bigger
Post by: olmos on July 18, 2012, 20:41:52 PM
Solved:

/www/components/com_virtuemart/views/category/tmpl/  default.php

line 223 - 229:

Quote// Show Products ?>
      <div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
         <div class="spacer">
          <div style="position:absolute; top:160px; left:350px; >
               <?php /** @todo make image popup */
                     echo $product->images[0]->displayMediathumb('class="browseProductImage" border="5" title="'.$product->product_name.'" ',true,'class="modal"');
                  ?>