Need Help with Adding Images to Questions in Open edX Content Library

Hello Open edX community,

I’ve created a question bank using the Content Library feature in Open edX, but I’m facing an issue with adding images inside the questions. It seems like the Content Library doesn’t support image uploads, as there’s no assets section available. This is different from when I add problems directly inside a course, where I can easily upload images.

This functionality is really essential for the questions I’m developing. Has anyone encountered this limitation, or found a workaround to include images in questions within the Content Library? Any suggestions or guidance would be greatly appreciated.

Thanks in advance for your help!

You need to upload your images elsewhere, File & Upload for example.
For the new problem editor
You can right-click your image and click copy then paste it to the editor, it will paste the image in base64 format, not the best option but it works.
Or you can change to the advanced editor and use HTML (see the old problem editor below).

For the old problem editor
Copy the link of the uploaded image.
To add the image to your question, use this syntax:

<img src="your_image_link" height="200" width="200" />

(adjust height and width to your preferred numbers)

example

You can use this template as a guide to the simple editor markdown and OLX markup to use for multiple choice problems. Edit this component to replace this template with your own assessment.

>>Add the question text, or prompt, here. This text is required.||You can add an optional tip or note related to the prompt like this. <<

<img src="https://global.discourse-cdn.com/flex020/uploads/openedx/original/2X/b/b09fb607d3b7d30f37d5740c06cc811922a0dc1e.png" height="100" width="100" />

( ) an incorrect answer
(x) the correct answer
( ) an incorrect answer

Thankyou for suggesting, I will definetly try.

@Anh_Vu_Nguy_n
Thanks for the reply it is working fine :+1: