diff --git a/pkg/photo/upload.go b/pkg/photo/upload.go index 37d9d9f..a2c0098 100644 --- a/pkg/photo/upload.go +++ b/pkg/photo/upload.go @@ -241,10 +241,6 @@ func ParseCropCoords(coords string) []int { } } - // If either the width or height would be zero, the coords aren't valid. - if len(coords) == 4 && coords[2] == 0 || coords[3] == 0 { - return nil - } return crop }