DCAS Open EdX Documentation

DCAS Open EdX Documentation

  • Docs

›Creating a Course

Creating a Course

  • Create a New Online Course
  • Set Course Schedule & Details
  • Add Sections, Subsections & Units
  • Managing Unit and Component
  • Adding Videos
  • Adding HTML
  • Adding Discussions
  • Adding Problems

    • Adding Problems
    • Problem Types
    • Drag and Drop
    • Pointing on a picture
  • Adding Images and Figures
  • Uploading Static Content
  • Course Visibility
  • Creating pages
  • Grading
  • Commonly Used Advanced Settings

Running a Course

  • Managing Certificates
  • Common Instructor Dashboard Tasks
  • Managing Course Discussions

Advanced Management

  • Importing / Exporting Courses
  • Change a user’s password
  • Inactivate / Activate a User
  • Understanding User Roles
  • Set a user to staff or superuser
  • Server Tasks

    • SSH into Server
    • Set or Change a Password

Migration

  • Migrate EdX (Single-Server)
  • Migrate the Theme

Migrate MySQL

  • Migrating MySQL Database off of Single-Server

Migrate Mongo

  • Migrating Mongo Database off of Single-Server

Configuration

  • Enable and Update Additional Languages
  • Enable Downloads from Instructor tab in LMS
  • Configure and Enable Certificate
  • Configure Open Response Assessment

Configure Ecommerce

  • Basic Ecommerce Setup
  • Setup JWT Keys
  • Getting Course Details on Checkout Page
  • Troubleshoot Ecommerce

Discovery Setup

  • Configure Discovery

Comprehensive theming

  • Setup Comprehensive Theming

Microsites

  • Setup Microsites
  • Common Microsite Configurations

API

  • Setup API
  • Common APIs Demonstration
  • Customizing an API
  • DCAS API Handoff for LMS

Xblock

  • Xblock introduction
  • Xblock installation and uninstallation
  • Xblock Development

Scaling the architecture

  • Scaling Mongo
  • Scaling MySQL
  • Dedicated Storage Configuration Outline
  • Azure Storage Configuration

    • Azure Storage Configuration
    • Basic Configuration
    • Private Blob Configuration

SCORM

  • SCORM Azure Storage

Trouble-Shooting

  • Forgot admin username or password
  • Server error
  • Can't reach your site
  • Problems with RabbitMQ
  • Can't login to LMS or CMS
  • Locate the error
  • Jobs are stucking
  • Mongodb not working
  • Forums Breaking Issue
  • Check open edx services status
  • Problem with mysql
  • Can't receive email
  • CSRF token error

Adding Images and Figures

Single Image

Course creators can add images and captions (or figures) within a body of text to illustrate a concept. It is possible to add a single image, two images in a table, or three images in a table.

  1. In Edx Studio, navigate to the Unit where you would like to add images.

  2. Click add New Component, and select HTML. Add HTML Component

  3. Choose “Text”, and then click “Edit”, and then click “Edit HTML” on the far right side. HTML Editor

  4. Now you can edit the HTML source code using the code examples below.

Before you begin, delete the <p></p> sample code.

Adding a Single Image

  1. See code below, fill in the blue text, leave black text as is:

    <p>Write your main paragraph here.... / &nbsp;Escribe tu párrafo principal aquí...</p>
    
    <h3>Header 1: &nbsp;</h3>
    <p>Write your first paragraph here / Escribe su primer párrafo aquí.</p>
    
    <figure><img src="Copy the image link from Files & Uploads and paste here"
    width="670" height="346" /><figcaption>
    
    <p style="font-size: 12px;">Fig. 1: Type your figure or image caption here.</p>
    </figcaption></figure>
    <h3>Header 2:&nbsp;</h3>
    <p>Write your second paragraph here / Escriba su segundo párrafo aquí</p>
    <p>This paragraph will start on a new line / Este párrafo se iniciará en una nueva línea </p>
    <p></p>
    

    Note that an approx. Width of 670 and Height of 346 is the recommended size for a single image. This may change depending on the size of the images you’re working with.

  2. Below is an example of code with a header, paragraph, one image, and a figure:

    <p>Bananas are delicious and nutritious. / Los plátanos son deliciosos y nutritivos.</p>
    <figure><img src="/static/Bananas.jpg" alt="Theses are bananas" 
    width="600" height="400" />
    <figcaption>
    <p style="font-size: 12px;">Fig. 1: The banana is an edible fruit, botanically a berry, produced by several kinds of large herbaceous, <br> flowering plants in the genus Musa.</p>
    </figcaption></figure>
    

    This is the result:

    Result HTML Editor Single Image

Adding Two Images in a Table

  1. See code below, fill in the blue text, leave black text as is:

    <p>Write your first paragraph here.... / &nbsp;Escribe tu primer párrafo aquí...</p>
    
    <table>
    <tbody>
    <tr>
    <td style="border-style: none;">
    <figure><img src="Copy the link for your first image from Files & Uploads and paste here" width="292" height="228" /><figcaption>
    <p style="font-size: 12px;">Fig. 1:&nbsp;Type your first figure or image caption here.</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="Copy link for your second image link from Files & Uploads and paste here" type="saveimage" target="[object Object]" width="291" height="228" /><figcaption>
    <p style="font-size: 12px;">Fig. 2:&nbsp;Type your second figure or image caption here.</p>
    </figcaption></figure>
    </td>
    </tr>
    </tbody>
    </table>
    
    <h3>Sub Header:&nbsp;</h3>
    <p>Write your second paragraph here / Escriba su segundo párrafo aquí</p>
    <p>This paragraph will start on a new line / Este párrafo se iniciará en una nueva línea </p>
    <p></p>
    
  2. Below is an example of code with a header, three paragraphs, two images, two figures, a subheader:

    <p>Try fruit for a quick breakfast. / Trate de fruta para un desayuno rápido.</p>
    <table>
    <tbody>
    <tr>
    <td style="border-style: none;">
    <figure><img src="/static/orange-02.jpg" width="265" height="255" /><figcaption>
    <p style="font-size: 12px;">Fig. 1:&nbsp;What rhymes with orange?</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="/static/Bananas.jpg" width="350" height="250" /><figcaption>
    <p style="font-size: 12px;">Fig. 2:&nbsp;Orange you glad I didn't say banana?</p>
    </figcaption></figure>
    </td>
    </tr>
    </tbody>
    </table>
    <p></p>
    <h3>History of the Orange / Historia de la Naranja</h3>
    <p>The orange is unknown in the wild state; is assumed to have originated in southern China, northeastern India, and perhaps southeastern Asia, and that they were first cultivated in China around 2500 BC.</p>
    <p>As oranges are rich in vitamin C and do not spoil easily, during the Age of Discovery, Portuguese, Spanish, and Dutch sailors planted citrus trees along trade routes to prevent scurvy.</p>
    <p></p>
    

    This is the result:

    Result HTML Editor Two Images

Adding Three Images in a Table

  1. See code below, fill in the blue text, leave black text as is:

    <tbody>
    <tr>
    <td style="border-style: none;">
    <figure><img src="Copy the link for your first image from Files & Uploads and paste here" width="250" height="167" /><figcaption>
    <p style="font-size: 12px;">Fig. 1:&nbsp;Type your second figure or image caption here.</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="Copy the link for your second image from Files & Uploads and paste here" width="210" height="129" /><figcaption>
    <p style="font-size: 12px;">Fig. 2:&nbsp;Type your second figure or image caption here.</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="Copy the link for your third image from Files & Uploads and paste here" width="258" height="194" style="margin-right: 30px; margin-left: 30px;" /><figcaption>
    <p style="font-size: 12px;">Fig. 3:&nbsp;Type your second figure or image caption here.</p>
    </figcaption></figure>
    </td>
    </tr>
    </tbody>
    </table>
    
  2. Below is an example of code with a header, a paragraph, three images, and three figures:

    <p>Eat, eat, eat apples and bananas. / Comer, comer, comer manzanas y plátanos.</p>
    <table>
    <tbody>
    <tr>
    <td style="border-style: none;">
    <figure><img src="/static/apple.jpg" width="250" height="167" /><figcaption>
    <p style="font-size: 12px;">Fig. 1:&nbsp;These apples are red.</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="/static/orange-02.jpg" width="210" height="195" /><figcaption>
    <p style="font-size: 12px;">Fig. 2:&nbsp;This orange is orange.</p>
    </figcaption></figure>
    </td>
    <td style="border-style: none;">
    <figure><img src="/static/Bananas.jpg" width="258" height="194" /><figcaption>
    <p style="font-size: 12px;">Fig. 3:&nbsp;These bananas are yellow.</p>
    </figcaption></figure>
    </td>
    </tr>
    </tbody>
    </table>
    

    This is the result:

    Result HTML Editor Three Images

← Pointing on a pictureUploading Static Content →
  • Single Image
  • Adding a Single Image
  • Adding Two Images in a Table
  • Adding Three Images in a Table
DCAS Open EdX Documentation
Docs
Create an Online Course
More
Curricu.me Website
Copyright © 2022 DCAS