Jump to content

Featured Products: Images Not Displaying Correctly


Recommended Posts

I'm having some issues getting the images in my featured products module to display correctly.

My uploaded product images are all the same size (215 wide x 170 high), and I've set the dimensions accordingly in the homefeatured.tpl file, but my images are displaying with a massive white border/area. I just want them to display in their raw state, how I uploaded them.

Here is the code I have in my .tpl file;

getImageLink($product.link_rewrite, $product.id_image, 'large')}" height="170px" width="215px" alt="{$product.legend|escape:htmlall:'UTF-8'}" />



And here is how my images are displaying;

http://img194.imageshack.us/img194/5210/sneakerlab1273542303721.png

As you can see, there is a large amount of white space. I want my image to completely fill the white area (and it should, as it's original dimensions fill that area.

Any help is much appreciated!!

Link to comment
Share on other sites

×
×
  • Create New...