Add https and auto-resize images on opening a thread