| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need advice on image sizes | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm running XC Pro and providers will be uploading product images of varying sizes and proportions. About 60% of the images will be "portrait" orientation (higher than they are wide) and 40% will be landscape (wider than they are high).
I'm trying to decide on the best template setup that will result in a clean, orderly appearance on the product listing pages. I'll probably use boxes to outline each product as in: http://www.rubylane.com/antiques.html but would appreciate any other suggestions or links to good examples. Also, if I wanted to set a standard image size that would be the most versatile and would work well with most images, what's the best width-to-height aspect ratio to use (e.g. a square image (100%), 67%, 80%, etc.)? Thanks for any comments.
__________________
X-Cart Pro v. 4.0.18 (unix), X-Mall, X-Affiliate, X-RMA, X-FeaturesComparison, Skin Swap, Multiple Upselling Links, Featured Products per Store, Static Pages Per Store |
|||||||
#2
|
|||||||
|
|||||||
![]() Square images always work best from a product layout stanpoint, as that way all of the thumbails, prices, titles, etc line up. You could just have your providers use a uniform canvas size, or you could code a fixed height/width table cell for the product images and have the the images float within it, no matter what the orientation.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Is there a way to control manufacturer/provider upload product image lenght and width ?
__________________
X-Cart V5.3.4.5 (Multivendor) Apache 2.4.18 (Ubuntu) Mysql 5.7.21 PHP 7.1.5 |
|||||||
#4
|
|||||||
|
|||||||
![]() yes you can...do you have any image mods installed right now? Like TeleFirmas...his takes over all images and makes for some needed workarounds.
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#5
|
|||||||
|
|||||||
![]() No, I didn't...is the image mod free and where can I get it?
__________________
X-Cart V5.3.4.5 (Multivendor) Apache 2.4.18 (Ubuntu) Mysql 5.7.21 PHP 7.1.5 |
|||||||
#6
|
|||||||
|
|||||||
![]() The best way is to use square images as Balinor suggested above then you don't need to modify any code. Plus that solves any future issues with overlaying images on top of each other in dynamic image mods like TelaFirmas mod. You can force the width of an image in product.tpl
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#7
|
|||||||
|
|||||||
![]() sorry, may i know how to edit the code in product.tpl?
is it with this command <td height="25" width="30%"></td>?
__________________
X-Cart V5.3.4.5 (Multivendor) Apache 2.4.18 (Ubuntu) Mysql 5.7.21 PHP 7.1.5 |
|||||||
#8
|
|||||||
|
|||||||
![]() change the image_x=$product.image_x in the code above to image_x=200
or whatever your desired width is
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#9
|
|||||||
|
|||||||
![]() How do i edit to fixed size?
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}
__________________
Version 4.2.0 Testing v 4.4 |
|||||||
#10
|
|||||||
|
|||||||
![]() General Settings/Appearance Options
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|