fix http->https, img path