Add width and height attributes to images
-
Hi,
i’m using King Composer as a page builder with a custom theme since few years and i’m very happy with, clear and easy to use.
I recently added a lazy loading plugin for images and noticed that the images inserted with the Single Image module does not have the width and height html attributes.
The Image Carousel module has the same issue, but it’s fine when inserting an image in the text editor.
These attributes are usefull to calculate the ratio of the images, and it avoid not-wanted layouts jumps while loading images.
How could I add the width and height attributes on all images ?
Thank you
The page I need help with: [log in to see the link]
- The topic ‘Add width and height attributes to images’ is closed to new replies.