Product main picture is too large, is not resized.

More
11 years 10 months ago #28617 by vladimir065
Hi,
I am using Furniture store 2.5 and VM 2.0.20b.

Product main picture is not resized. Is there any way to show instead of main product picture, product thumb and when customer click on that picture to open it in full size.

I have use this template in joomla 1.5 and main picture was resized with link to full image.

Thank you.

Please Log in to join the conversation.

More
11 years 10 months ago #28620 by ivan.milic
send link so we could see what are you talking about

Please Log in to join the conversation.

More
11 years 10 months ago #28625 by ivan.milic
For product details page, open:

templates\hot_furniturestore\html\com_virtuemart\productdetails\default.php

this line (~275):
Code:
<?php echo $this->product->images[0]->displayMediaFull('class="product-image"',false); ?>

replace with:
Code:
<?php echo $this->product->images[0]->displayMediaFull('class="product-image"',true,'class="modal"'); ?>


for category display check what you set under VM admin->Configuration->Templates-> "Activate Css Styles & Javascripts" property gorup

Please Log in to join the conversation.

More
11 years 10 months ago #28628 by vladimir065
Thanks
Problem solved.

I have made just little modification. Instead .... ->displayMediaFull('class .... I put .....displayMediaThumb...... so now I have thumb as main product image and when visitors click on image its open in full size.

Please Log in to join the conversation.

Time to create page: 0.189 seconds
Powered by Kunena Forum