Imports github.com/disintegration/imaging github.com/globalsign/mgo github.com/globalsign/mgo/bson Standard library imports bytes encoding/json fmt html/template image image/color image/draw image/jpeg io math math/rand net/http os picx/packages/authentificate sort strconv strings