fix for thumbnail images on https pages