Solve invalid HTTPS certificate by referencing local files

We recently came across something quite interesting – if your website is HTTPS and you reference an image or any other files from a non HTTPS website, this will result in your website showing that there is a problem with the HTTPS certificate. The reason for this is of course the fact that you are accessing this file from an insecure connection. The solution

Download the required file and reference it locally