Added multi-thread and image support.

.jpg file and html file limited.