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)
-   -   thumbnail sizes folder /T/ (https://forum.x-cart.com/showthread.php?t=61779)

a1deano 11-25-2011 05:11 AM

thumbnail sizes folder /T/
 
Hi all can anyone advise not sure if this is possible but i am looking at YSLOW to see what can be done to speed up my site.

On there it states -
The following image(s) are missing width and/or height attributes

http://www.mysite.com/images/T/1968_red_swim_front.jpg ( Dimensions 150 x 178 )

But because these images change every time the page is refreshed etc I can't put down dimension sizes like you could a normal images

Is there anyway you can make x-cart state the image sizes of the thumbnails

Might be a hard thing to do but thought id ask - Thanks

JWait 11-25-2011 05:42 AM

Re: thumbnail sizes folder /T/
 
Quote:

Originally Posted by a1deano
But because these images change every time the page is refreshed etc I can't put down dimension sizes like you could a normal images

Is there anyway you can make x-cart state the image sizes of the thumbnails



I don't understand what you mean by "images change every time the page is refreshed". Shouldn't it use the same image?

You specify the sizes of your images in Admin - General Settings > Appearance.

a1deano 11-25-2011 07:36 AM

Re: thumbnail sizes folder /T/
 
Sorry should have explained more on the home page i have random products, so every time the page is refreshed the random products change, although you can state the size of the image in admin, for YSLOW and Pagespeed x-cart does not state the size of the image dimension i.e

src="/images/mypicture.jpg" style="width: 350px; height: 141px;" />

So i was wondering if it was possible to make x-cart state the size of these images..

JWait 11-26-2011 06:59 AM

Re: thumbnail sizes folder /T/
 
I don't really have an answer to your question, I make all of my images uniform in size. I use Faststone Image Viewer to do this, if that would help.

a1deano 11-27-2011 10:35 AM

Re: thumbnail sizes folder /T/
 
Hi yes i make all my images uniform in size but for random products and best sellers x-cart does not state what size the images dimensions are to google or Yslow.

If we were to put just a single picture on our home page we would put the dimension size i.e src="/images/mypicture.jpg" style="width: 100px; height: 150px;" />

But x-cart does not state what size these images are so it gets picked up by Yslow and pagespeed as a problem that needs sorting on your site, to help with speed.


All times are GMT -8. The time now is 10:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.