Imports code.google.com/p/graphics-go/graphics github.com/go-martini/martini github.com/muesli/smartcrop labix.org/v2/mgo labix.org/v2/mgo/bson Standard library imports encoding/json fmt image image/draw image/jpeg image/png io net/http regexp strconv strings time