X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Missing width/height attributes in "Light" template (https://forum.x-cart.com/showthread.php?t=73085)

kevinrm 11-15-2015 07:34 PM

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.

razortw 11-17-2015 01:36 AM

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.

totaltec 11-17-2015 05:06 AM

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.


All times are GMT -8. The time now is 06:53 AM.

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