Add support for images and videos in lessons and courses