added support for images in questions and answers