fix issue #26
Fix image size / Fix required filed in ad relates to issue #27
fixes #27, #28