Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Image elements do not have explicit width and height

Home / Forums / Kadence Theme / Image elements do not have explicit width and height

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
October 12, 2021 at 3:07 pm

Hi

I use LEMP+Nginx system for my wordpress sites.
My wordpress plugins are;

All-in-One WP Migration
Async JavaScript
Autoptimize
Contact Form 7
Kadence Blocks – Gutenberg Blocks for Page Builder Features
Rank Math SEO
ThirstyAffiliates
WP Mail SMTP

My pagespeed is excellent on mobile %99 but i have a big problem.
images don’t have width and height codes!

Test page:

An example:
<figure class="wp-block-image"><img src=" alt="airmon-ng" class="wp-image-629"/></figure>

I use lazyload with autoptimize i disable it but not fixed.

Should not wordpress add height width codes to images as standard?
How can i fix this?

Thanks

  • The forum ‘Kadence Theme’ is closed to new topics and replies.