allow submitting image in user comment

motify code to allow submitting image in user comment