added image attributes for both question and answer to QuestionCard class