X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need advice on image sizes (https://forum.x-cart.com/showthread.php?t=22343)

sam754 06-07-2006 11:35 AM

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.

balinor 06-08-2006 05:58 AM

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.

williamteh 01-05-2009 04:13 AM

Re: Need advice on image sizes
 
Is there a way to control manufacturer/provider upload product image lenght and width ?

Thedae2k 01-05-2009 11:54 PM

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.

williamteh 01-06-2009 11:57 PM

Re: Need advice on image sizes
 
No, I didn't...is the image mod free and where can I get it?

Thedae2k 01-07-2009 01:10 AM

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"}

williamteh 01-07-2009 02:37 AM

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>?

Thedae2k 01-07-2009 02:40 AM

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

cosy 03-31-2009 05:22 PM

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"}

balinor 03-31-2009 06:57 PM

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.