...
|
...
|
@@ -114,7 +114,7 @@ func ResizeImage(fileType, sourcePath, prefix, subfix string, file *multipart.Fi |
|
|
fmt.Println(err)
|
|
|
return
|
|
|
}
|
|
|
image = imaging.Resize(image, 0, 200, imaging.Lanczos)
|
|
|
image = imaging.Resize(image, 0, 400, imaging.Lanczos)
|
|
|
err = imaging.Save(image, filename)
|
|
|
if err != nil {
|
|
|
log.Error(err)
|
...
|
...
|
|