Starting with a default installation including plupload, I set the "Minimum resolution for Images" on the field_node_gallery_image. I then uploaded an image with a larger resolution than that defined minimum using the plupload multi-file uploader.

After uploading, it says "Success! 1 image uploaded." Then, when I navigate away, on the next page I go to, I get

"The selected file 021.frame.portrait.png could not be saved. The image is too small; the minimum dimensions are 1024x768 pixels."

The first success statement is misleading. From a user's perspective, the image hasn't been uploaded. When not using plupload, the error message displays immediately, which is the expected behavior.

I'd fix it myself if I knew how.
I see where the success text is set in plupload.js

      var successText = Drupal.formatPlural(count, 'Success! 1 image uploaded.', 'Success! @count images uploaded.');

and I think that should be conditionally replaced with the error message, but I don't see where that is generated.

I also don't know if this belongs here or in the plupload project's issues.

Thanks

Comments

justintime’s picture

Project: Node Gallery » Plupload integration
Version: 6.x-3.1 » 6.x-1.x-dev

This is a plupload issue, not a NG issue. Bumping over to that queue.