- Posts: 22
- Thank you received: 0
Product main picture is too large, is not resized.
-
vladimir065
Inactive member -
Topic Author
- Member
-
Less
More
11 years 10 months ago #28617
by vladimir065
Product main picture is too large, is not resized. was created 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.
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 10 months ago #28620
by ivan.milic
Replied by ivan.milic on topic Product main picture is too large, is not resized.
send link so we could see what are you talking about
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 10 months ago #28625
by ivan.milic
Replied by ivan.milic on topic Product main picture is too large, is not resized.
For product details page, open:
templates\hot_furniturestore\html\com_virtuemart\productdetails\default.php
this line (~275):
replace with:
for category display check what you set under VM admin->Configuration->Templates-> "Activate Css Styles & Javascripts" property gorup
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.
-
vladimir065
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 22
- Thank you received: 0
11 years 10 months ago #28628
by vladimir065
Replied by vladimir065 on topic Product main picture is too large, is not resized.
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.
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