20 Oct 2017 
Support Center » Knowledgebase » Avactis 1.9.1 build 8365 and later » After importing, products images are very large
 After importing, products images are very large
Solution NOTE: This article is actual for Avactis 1.9.x. For other versions get information from Avactis support service

The images size information cannot be imported. If after importing of the products the images are very large, replace the following part of code:

<?php ProductSmallImage(); ?>

with this one:

<img src="<?php ProductSmallImageSrc(); ?>" width="<?php if (getValProductSmallImageWidth()<170) {ProductSmallImageWidth();} else {echo '170';}; ?>" alt="" />

in the following files:

themes\system\catalog\bestsellers\default\bestsellers-item.tpl.html
themes\system\catalog\featured-products\default\featured-products-item.tpl.html
themes\system\catalog\product-list\default\product-list-item.tpl.html
themes\system\catalog\product-list\default\product-list-item-out-of-stock.tpl.html
themes\system\catalog\product-set\carousel\product-set-item.tpl.html
themes\system\catalog\product-set\carousel\product-set-item-out-of-stock.tpl.html
themes\system\catalog\product-set\default\product-set-item.tpl.html
themes\system\catalog\product-set\default\product-set-item-out-of-stock.tpl.html
themes\system\catalog\product-set\rand\product-set-item.tpl.html
themes\system\catalog\product-set\rand\product-set-item-out-of-stock.tpl.html
themes\system\catalog\related-products\default\related-products-item.tpl.html


Change 170 to another value, if necessary.


Article Details
Article ID: 13
Created On: 20 Oct 2010 09:05 PM

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
 Help Desk Menu

Help Desk Software By Kayako eSupport v3.11.01