Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

thumbnail sizes folder /T/

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-25-2011, 05:11 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 11-25-2011, 05:42 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 11-25-2011, 07:36 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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..
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #4  
Old 11-26-2011, 06:59 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default 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.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 11-27-2011, 10:35 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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.
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:50 PM.

   

 
X-Cart forums © 2001-2020