Background Images
-
I usually code all of my pages myself, however, I quite like the Gutentor page builder.
I have one query though… relating to images.
Some of the images such as image grids have the image location added to the HTML, this allows me to use the likes of Shortpixel to serve the images from a CDN, use lazy load etc,
However other images, such as slider images, which I use for header backgrounds, rather than adding the image into the html, instead adds the image via css.
So when I select the image from the library, the plugin must add that image to the Css for that particular block.
This then means that I cannot serve images from a CDN. Short pixel allows me to serve webp images from the CDN which are scaled to the appropriate size for the screen but the way the blocks are handled for some images does not allow me to take advantage of this.
Is there something that I could do diferently to ammend this?
- The topic ‘Background Images’ is closed to new replies.