Trying to upload an image larger than the curlypage dimensions, as specified in its size settings, we get two messages, a success message indicating the image has been resized and an error message that indicates the image is smaller than the minimum size.

This really happens because the image does not meets requirements, it is probably larger in width but its height is not large enough to meet minimum height requirement after being resized. Example:

Size required: 100x100
Image to upload: 200x180

as the image is larger it is resized (success message):

Resized image: 100x90

resized image does not meet minimum size requirement for its height (error message).

Anyway this is confusing so I'm going to consider large images always valid (I'm going to do just the minimum size check before the maximum size check), though the image in the example will not fit very good in the curlypage after resize. This way is less confusing and the user can realize seeing the curlypage in action that his image does not fit so he can manipulate the image to upload one with proper dimensions.

The best thing to do is always upload an image with the configured dimensions.

Comments

manfer’s picture

Status: Active » Needs review

This change has been pushed and will be soon available in the development release 6.x-3.x.

manfer’s picture

Status: Needs review » Closed (fixed)