I have the following code in my website:
Wh
This will only work from an HTTP or HTTPS site with a Valid and trusted security certificate.
If there's a certificate error, iOS will not load the image. Temporarily trusting the certificate in Safari for the page will not trust the certificate for the homescreen shortcut. If you are using a self-signed certificate, you must add the untrusted root certificate as a trusted certificate at the OS level.