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

Missing width/height attributes in "Light" template

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-15-2015, 07:34 PM
 
kevinrm kevinrm is offline
 

X-Wizard
  
Join Date: Aug 2003
Posts: 1,003
 

Default Missing width/height attributes in "Light" template

After running a speed test, I get this error. Although it's minor, image dimensions should still be there, especially for the logo.

The following image(s) are missing width and/or height attributes.

https://www.mywebsite.com/images/simplecms/logo.png (Dimensions: 200 x 210)
https://www.mywebsite.com/skins/common/images/flags_svg/en.svg
https://www.mywebsite.com/skins/default/en/images/spacer.gif (Dimensions: 1 x 1)


Also note that this "Light" template does not load the Webmaster module, so I'm not able to fix it that way.
__________________
X-Cart 5.4.1.39 Live
PHP 7.4.33
5.5.5-10.3.38-MariaDB MariaDB
Apache 2.4
CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT
32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1
Reply With Quote
  #2  
Old 11-17-2015, 01:36 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Missing width/height attributes in "Light" template

Hello.
I would suggest to report this to our issue tracker at https://bt.x-cart.com to let the developer know about the problem.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 11-17-2015, 05:06 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Missing width/height attributes in "Light" template

It's a toss up whether you need to specify image dimensions anymore. With responsive design, images are usually being re-sized by the browser on a regular basis. I'm not sure that specifying dimensions is as big a deal as it used to be.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 01:37 PM.

   

 
X-Cart forums © 2001-2020