Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
BG1
BG1
Hello,
I'm working on someone's template, I would like to display more than 3 columns of additional images (see screen cap), but I cannot find where in the Admin Panel to set this. Can it be done through the Admin section, or should it be done manually through editing files?... screen cap: http://viart-templates.com/1.jpg
Thanks
 
Egorych
Egorych
Hello,
It's result automatic
Example:
Your big image width 400px while small image width 100px
small image is show in 4 column
 
BG1
BG1
Thank you Eporych,
I figured out a direct fix a while back:
 
I opened
 
blocks>block_product_details.php
 
and looked for:
 
// product images
$t->set_var("images", "");
 
$image_number = 0;
$image_section_number = 0;
$image_below_large = 0;
$images_section_cols = 5;
$images_below_cols = 5;
 
 
Here you can set the number of images per row, by changing the digit in either "$images_section_cols = 5;" or "$images_below_cols = 5;" - depending on whether you set your images to display in their own section, or below the main image, in the CMS>Layout section of the admin panel.
 
daviswe
daviswe
This modification didn't work for me. I have a 300x300px image as my primary image, and added 9 others as 'display below' images. They are now in 4 rows, but I'd LIKE them to be in 1 or two rows of up to 8 images as I'll be adding as many as 20 under images to most of my complex products.
 
So, what did I miss?
 
The block_product_details.php file does a calculation (Egorych mentioned) but you can override that calculation, but still it did nothing. I set the code that checks if number of calculated columns is less than 2 to set it to 2, and I set it to "if less than 8, then make it 8'.
 
I'd appreciate any thoughts. I REALLY need to use the space horizontally rather than vertically.
 
Ok, I think I figured out my issue, partly. Seems the mod I did to make my options move to the left of the page up tight against the images has made it impossible to do what I want. I may have to go back to standard templates. Do I even have those?
 
Ed
 
Ed
Last modified: 27 Mar 2009 4:28 PM
 
wemseo (Guest)
wemseo (Guest)
seems like you need a custom fix for adding a horizontal image slider!
 
May be a good to add this to into our wishlist for future upgrades or (i'd be personally interested myself) - we chip in together and ask ViArt to have it programmed.
 
Maybe others are interested in this too. If yes, put your name on the list ... Wink