The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Hi, folks! I need to insert questions that contain images in the Canvas LMS using its Rest API. I tried to use inlined images, encoded in Base64, inside HTML passed by the parameter 'question_text', but Canvas eliminates the image from the question text during the creation operation. I think it's an LMS security constraint. Please, could someone help me find a way to create questions that contain images using the Canvas API?
I just successfully created a question using the rest api (specifically, using the canvasapi python repo) with an image by including `<img src="a-url-to-an-externally-hosted-image">` as part of the `question_text` field.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.