N/APosted on - 07/04/2019
Pictures are not only for the user interface. They sometimes will contain useful information. The photo I used for my background, has been deleted/moved, it is leading to reduced contrast. The explanation we gave for that image has become a puzzle to the user. So how can I fix these problems?
How Can The Image Be Made Optional?
You have never intended to use a missing image. You can use image alt text in image attribute, which will be displayed if the image goes missing. In this way, you can explain the image without the actual image. You can use an attribute in an image tag to replace a picture by a default image if the image goes missing. You may also take the help of, third-party service which will replace the missing image with the default image of the specified location. You should also see the permissions while using the image as it may be in a private domain.