using https instead of http for gallery components