LUN-407: new image field with no validation error when empty.
removed duplicated code
replaced hidden field with a css class
Merge pull request #1 from pbs/LUN-407

LUN-407: new image field with no validation error when empty.