1. 优化图片内存使用
2. 修复在线模式下缩略图的显示问题
3. 修复下载画廊超过1000页时的错误

------------------------------------------------------------------------------------------

1. Improve memory usage
2. Fix bug with thumbnails in online mode
3. Fix bug with downloading gallery which has more than 1000 images