![]() |
Need advice on image sizes
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. |
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.
|
Re: Need advice on image sizes
Is there a way to control manufacturer/provider upload product image lenght and width ?
|
Re: Need advice on image sizes
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.
|
Re: Need advice on image sizes
No, I didn't...is the image mod free and where can I get it?
|
Re: Need advice on image sizes
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"} |
Re: Need advice on image sizes
sorry, may i know how to edit the code in product.tpl?
is it with this command <td height="25" width="30%"></td>? |
Re: Need advice on image sizes
change the image_x=$product.image_x in the code above to image_x=200
or whatever your desired width is |
Re: Need advice on image sizes
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"} |
Re: Need advice on image sizes
General Settings/Appearance Options
|
All times are GMT -8. The time now is 06:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.