When I mean load, I mean that the client sends a network request to download the image from the server. display: none hides the image after the client has already downloaded the image, which isn't good for mobile-design as it wastes bandwidth if users are on data instead of Wifi.
If you are setting display none on the picture if you don't want to see it then it won't load the image, which allows you to do everything you need
When I mean load, I mean that the client sends a network request to download the image from the server.
display: none
hides the image after the client has already downloaded the image, which isn't good for mobile-design as it wastes bandwidth if users are on data instead of Wifi.Most browsers will see the image isn't displayed and not load the image, especially with the attributes mentioned. Is my understanding.