I save an Image from an URL to an image field using setAndSave().
The image field is set to "Single Item (0 if empty)" and "Maximum Files Allowed = 1".
But the line
uploads the picture and adds it to the existing one. So there are now a growing number of pictures in my "single item" field.
What i expected to happen was, that the new image would overwrite the existing one.
Am i doing something wrong or is there another setting that i missed?
(Sorry if i posted this in the wrong forum.)