If you set imagefield to resize images that are too big, and ajax upload three images larger than allowed, for example,
you will get the image resized message three times.
No need to display it more than once, since it is the same for all three times shown.
Attaching a small patch that fixes this.

CommentFileSizeAuthor
show_once.patch970 bytesbojanz

Comments

dopry’s picture

Category: bug » feature
Status: Needs review » Active

I don't think I really want to add this patch... I kind of want to know each image that was resized...

I'd rather just add the filename or something to the Message so I know which images got resized.

dopry’s picture

Status: Active » Closed (fixed)

filename addition Committed to DRUPAL-5--2.