Hello,
How do I specify the image dimensions on the front page? the width and height? Thank you
|
|
Hi,
Which image dimensions exactly do you have in mind?
If you mean these from Featured, Latest, Bestseller, or Special modules, then you could take a look at this topic: http://support.themeburn.com/topic/thumbnails-problem
Best,
ThemeBurn team
|
|
Hello,
My featured images on the frontpage. But, I think it applies to all images.
I was using gtmetrix.com to check performance. and it recommended to specify image dimensions. The following image(s) are missing width and/or height attributes. Specifying a width and height for all images allows for faster rendering by eliminating the need for unnecessary reflows and repaints.
http://gtmetrix.com/specify-image-dimensions.html
|
|
Now we’ve got what you mean
Unfortunately, OpenCart by default does not provide the image dimensions to the templates. You will need to hack some files to get this functionality. Here are some topics that discuss the same matter:
http://forum.opencart.com/viewtopic.php?f=121&t=20057
http://forum.opencart.com/viewtopic.php?f=24&t=9249
Best,
ThemeBurn team
|
|