Skip to content

Commit

Permalink
bump img max dim to 4k (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazynina authored Dec 5, 2024
1 parent 060b426 commit 03e2d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/media.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (fes *APIServer) uploadSingleImage(image string, extension string) (_imageU

if extension != ".gif" {
var imageBytes []byte
imageBytes, err = resizeAndConvertFromEncodedImageContent(image, 1000, extension)
imageBytes, err = resizeAndConvertFromEncodedImageContent(image, 4000, extension)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 03e2d04

Please sign in to comment.