How to show images of middle size for products listed in a category?

05.07.2014 17:14
#1
Rfhnjybq
Joomshopping forum user no avatar
Name: Twister
27.05.2014
Posts: 2
Quote
How to show images of middle size for products listed in a category?

I have image thumb size for a product 100*100. It's good for a product page. But for products listed in a category this images are too small (products images in a category are shown of thumb size).
As I have done with a lot of products I think it is probably easier to change a size of the images to middle size instead of thumb size in a products list. Is it possible? How to do this?
Thank you!


Letzte Ă„nderung: 09.07.2014 17:28
 
05.07.2014 22:03
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: How to show images of middle size for products listed in a category?

joomshopping veersion?

components\com_jshopping\lib\functions.php

function listProductUpdateData($products, $setUrl = 0)
...

after
$products[$key]->image = $image_path."/".$image;
Add row
$products[$key]->image = str_replace("thumb_", '', $products[$key]->image);

 
09.07.2014 17:31
#3
Rfhnjybq
Joomshopping forum user no avatar
Name: Twister
27.05.2014
Posts: 2
Quote
Aw: How to show images of middle size for products listed in a category?

It works!! Awesome!! Exactly what I wanted!
JoomShopping version is 4.5.0
Thank you, guys, very much!

P.S. Congratulations for soccer! 7-1 is cosmos !!! 8)

 
Copyrights MAXXmarketing GmbH. All Rights Reserved