The built-in lightbox element cannot be used on course pages. Instead copy this example to your courses.