Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

image dimensions specification

  • Mariak Bol
  • Mariak Bol's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 3 months ago #138713 by Mariak Bol
Mariak Bol created the topic: image dimensions specification
Hi, How do I specify my K2 items dimensions. gtmetrix.com/ recommends I specify images demensions and also Defer parsing of JavaScript.

Thanks

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #138714 by Krikor Boghossian
Krikor Boghossian replied the topic: image dimensions specification
Defering Javascript roughly means async/lazy loading the scripts.

Since the template only uses one js script there is no point or benefit in breaking it up.

As for image dimensions, this works only for static sites, not responsive sites. It will only lead to possible broken layouts in older browsers.
To simply put it, there is no fixed width column so you can specify the image's width.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Mariak Bol
  • Mariak Bol's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 2 months ago #138715 by Mariak Bol
Mariak Bol replied the topic: image dimensions specification
My site is still heavy. It takes alot of internet data bundles when accessed through mobile phone unlike other websites. Please what other solution would you recommend? Check google PageSpeed recommendation in screen shot: imgur.com/DPluNKN

Thanks

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #138716 by Krikor Boghossian
Krikor Boghossian replied the topic: image dimensions specification
You can cut the image quality from K2's settings.
K2 does not regenerate images but you can try looking for a tool at K2's community forum.

Alternatively you can use a CDN like Cloudflare.
If you are comfortable with coding you can use a lazy loading jquery script.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum