Imports github.com/nfnt/resize github.com/gogits/gogs/modules/log github.com/gogits/gogs/modules/setting Standard library imports image/png crypto/md5 image/jpeg encoding/hex errors fmt image io net/http net/url os path/filepath strings sync time