package attach import ( "context" "fmt" "image" "gocloud.dev/blob" ) func ThumbFilename(id uint, w, h int, offsetX, offsetY int, mode, ext string) string { return "" } func PartitionDirectory(diskName string) string { return "" } func (f *File) Thumb(ctx context.Context, bucket *blob.Bucket, w, h int, mode string) (string, error) { return "", fmt.Errorf("attach: thumb not implemented") } var resizeImage = func(src image.Image, w, h int, mode string) image.Image { return src }