If the Maximum number of images field is 0 (zero -- either by default or intentional), you get this message and are not allowed to upload images:

"You can only attach images to this field. Delete an image if you wish to be able to upload different images."

The help text states that 0 should have no restrictions (allowing unlimited images). Everything works fine if I explicitly set the value to a number.

Drupal 5.7 w/ CCK 5.x-1.6-1

CommentFileSizeAuthor
#4 imagefield.module.225584.patch621 bytesjaydub

Comments

pnlnl’s picture

i am still getting this message even after giving it a value other than zero :(

JMowery’s picture

I am too. This really bites. Someone please help.

sun’s picture

Confirming. After upgrading to Image Field 5.x-2.0-rc6, users are not able to attach images to nodes.

Deleting the 0 for maximum images does not work.
However, it works again if an arbitrary number is input for maximum images, e.g. 1 or 999.

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new621 bytes

Here's my take on a quick patch

kndr’s picture

Status: Needs review » Closed (duplicate)

#4 doesn't work with single image fields. Look at http://drupal.org/node/226270. I mark this issue as duplicated.