implemented image message rendering