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

Additional images in one column

Started by bestcons, August 28, 2013, 17:08:26 PM

Previous topic - Next topic

bestcons

I am using VM 2.0.22b to present images and details of old farmhouses as part of a historical society website.
First I show 20 farmhouses in a column, with the main image in miniature. Clicking on Details shows the main image in a large format, the additional images as miniatures including the image name and the further details in text. The number of miniatures in a row vary between 1 and 4 (see printscreen example as attachment), dependent on the size of the image names.
To have an identical and neat layout, I want to have all the additional images in one column.
Please help.
Regards,
bestcons

[attachment cleanup by admin]

PRO

in 1 column?
or 1 row?

If 1 column, it's easy.

views/productdetails/tmpl/default_images.php


change this
<div class="floatleft">
               <?php
                   echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");
               ?>
            </div>

to this

<div class="imageC">
               <?php
                   echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");
               ?>
            </div><br/>


Information on layout overrides?

http://forum.virtuemart.net/index.php?topic=90935.0

bestcons

Yes, in 1 column. The result is great. Thanks.
bestcons