no I have the problem that the create action works perfectly. But when I want to edit some values of an existing entry (but don't want to upload a new image), I always gets an error which says that "strImage" cannot be blank.
How can I keep the existing image, without error message?
for the strImage rule, set the 'on' option to be 'insert'.
Ok, I've done this, but when I now edit a record and save it, strImage is empty (and i couldn't upload any image)
What I want to do, is to keep any existing image (without error message when editing a record), until the user decides to upload a new image for an existing record.
I don't think adding 'on' option would cause the problem you described. You are merely disabling a validation rule. It won't affect whether or not 'strImage' is empty.