News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

info images, where are they?

Started by piru, June 05, 2013, 12:07:31 PM

Previous topic - Next topic

piru

Hello,

I want to understand how it works the images folder.
/images/stories/virtuemart/product/resized are the thumbnails images
/images/stories/virtuemart/product are the popup images
Where are the info (detail) images? or will be resize anywhere?

Thanks!

piru

There is a complicated question? or did no one understand my question?

Thanks!

sagaranvekar

I guess you are talking about product detail page.
(http://demo.virtuemart.net/index.php/2012-01-13-09-33-20/virtuemart-default-layout/mp3-player/ipod-shuffle-detail)
Detail page uses same image from
/images/stories/virtuemart/product

piru

I don´t think so, because /images/stories/virtuemart/product are the popup images, or not? And the popup images there are not the same size from detail images...
If you are right, then where are the popup images?

sagaranvekar

Can you locate me to your website?
Maybe your template has size defined in <img> tag.


sagaranvekar

Please find image sources in attachment. Both images are same.

[attachment cleanup by admin]

piru

this is what I mean... but I want the popup images bigger. And this is the question, how can I make this

sagaranvekar

Quote from: piru on June 13, 2013, 15:34:44 PM
this is what I mean... but I want the popup images bigger. And this is the question, how can I make this

You cannot do that. Infact you can use thumbnail on the details page instead of showing full image and then clicking on it will show you bigger image. for that you need to do following things.
In \components\com_virtuemart\views\productdetails\tmpl\default_images.php

<div class="main-image prod">



<?php

echo $image->displayMediaFull("",true,"rel='vm-additional-images'");

?>




<div class="clear"></div>

</div>


Change it to

<div class="main-image prod">



<?php

echo $image->displayMediaThumb("",true,"rel='vm-additional-images'");

?>




<div class="clear"></div>

</div>


displayMediaFull shows full image and displayMediaThumb shows thumbnail.

Hope this fixes your issue.

piru

But I don´t want to show thumbnails in the detail page, I only want that the popup image will be bigger.
I will see, maybe I can use your code

Thank you!