media handling
This commit is contained in:
@ -123,6 +123,7 @@ const (
|
||||
type FileMeta struct {
|
||||
Original Original
|
||||
Small Small
|
||||
Focus Focus
|
||||
}
|
||||
|
||||
// Small can be used for a thumbnail of any media type
|
||||
@ -140,3 +141,8 @@ type Original struct {
|
||||
Size int
|
||||
Aspect float64
|
||||
}
|
||||
|
||||
type Focus struct {
|
||||
X float32
|
||||
Y float32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user