View Single Post
  #26  
Old 12-29-2010, 03:14 PM
 
artistwantab artistwantab is offline
 

eXpert
  
Join Date: Jul 2009
Posts: 320
 

Default Re: Modifying a 4.4.1 skin questions...

Steve,

Thanks for answering.

That is exactly what I thought. I created thumbnails and the thumbnails were vertical or horizontal but I wanted square thumbnails.

So I then exported all the images and modified the pngs to square format.

With this code: The images still remained vertical or horizontal in the thumbnails regardless of the actual image size.

Quote:
{if $image_x ne 0} width="{$image_x}"{/if}
{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" />


So then I changed code above to the below code:

The thumbnails now showed correctly but when you click the thumbnail and go to view the larger image it ALSO shows the thumbnail.

Quote:
{if $image_x ne 0} width="150px"{/if}
{if $image_y ne 0} height="150px"{/if} alt="{$product|escape}" />

Strangest thing...

Go to the Site and click on one of the thumbnails. You will see that you get the exact thumbnail in the main product page.

Now right click on the image and click VIEW IMAGE. It shows the correct image.

I thought maybe a cache issue but I cleared my cache and still nothing.

Thanks.
__________________
X-Cart version 4.7.2
x-special Offers
Reply With Quote