photo upload and comment on articles using polymorphism