added a helper function to alter the returned image url to be an HTTPS link instead of HTTP