diff --git a/docs/en_us/course_authors/source/Images/HTML_Insert-Edit_Image.png b/docs/en_us/course_authors/source/Images/HTML_Insert-Edit_Image.png new file mode 100644 index 0000000000..654055cfe8 Binary files /dev/null and b/docs/en_us/course_authors/source/Images/HTML_Insert-Edit_Image.png differ diff --git a/docs/en_us/course_authors/source/Images/HTML_Link_File.png b/docs/en_us/course_authors/source/Images/HTML_Link_File.png index cebc1e51e5..bbe5da370b 100644 Binary files a/docs/en_us/course_authors/source/Images/HTML_Link_File.png and b/docs/en_us/course_authors/source/Images/HTML_Link_File.png differ diff --git a/docs/en_us/course_authors/source/Images/file_pagination.png b/docs/en_us/course_authors/source/Images/file_pagination.png index 26fecd5d9b..b8447be1a7 100644 Binary files a/docs/en_us/course_authors/source/Images/file_pagination.png and b/docs/en_us/course_authors/source/Images/file_pagination.png differ diff --git a/docs/en_us/course_authors/source/Images/file_sort.png b/docs/en_us/course_authors/source/Images/file_sort.png index d2f6f4aced..280804883d 100644 Binary files a/docs/en_us/course_authors/source/Images/file_sort.png and b/docs/en_us/course_authors/source/Images/file_sort.png differ diff --git a/docs/en_us/course_authors/source/Images/files_uploads_urls.png b/docs/en_us/course_authors/source/Images/files_uploads_urls.png new file mode 100644 index 0000000000..0fb1d0bc12 Binary files /dev/null and b/docs/en_us/course_authors/source/Images/files_uploads_urls.png differ diff --git a/docs/en_us/course_authors/source/Images/image_link.png b/docs/en_us/course_authors/source/Images/image_link.png new file mode 100644 index 0000000000..c0cccee52a Binary files /dev/null and b/docs/en_us/course_authors/source/Images/image_link.png differ diff --git a/docs/en_us/course_authors/source/change_log.rst b/docs/en_us/course_authors/source/change_log.rst index 0381aa31c3..c66f235ba5 100644 --- a/docs/en_us/course_authors/source/change_log.rst +++ b/docs/en_us/course_authors/source/change_log.rst @@ -10,6 +10,10 @@ Change Log * - Date - Change + * - 02/25/14 + - Updated :ref:`Add Files to a Course` section to include new External URL feature. + * - + - Updated :ref:`Add a Link to a File` and :ref:`Add an Image to an HTML Component` to specify you must use the file's Embed URL. * - 02/24/14 - Created new chapter, :ref:`Getting Started with edX`. * - diff --git a/docs/en_us/course_authors/source/create_html_component.rst b/docs/en_us/course_authors/source/create_html_component.rst index 0ea53d24fe..2b2d112315 100644 --- a/docs/en_us/course_authors/source/create_html_component.rst +++ b/docs/en_us/course_authors/source/create_html_component.rst @@ -194,12 +194,15 @@ Add a Link to a File You can add a link in an HTML component to any file you've uploaded for the course. For more information about uploading files, see :ref:`Add Files to a Course`. -#. On the **Files & Uploads** page, copy the URL of the file. +#. On the **Files & Uploads** page, copy the **Embed URL** of the file. - .. image:: Images/HTML_Link_File.gif - :alt: Image of Files and Uploads page with the URL field circled + .. image:: Images/HTML_Link_File.png + :alt: Image of Files and Uploads page with the URL field circled + + + .. note:: You must use the **Embed URL** to link to the file, not the **External URL**. -#. Select the text that you want to make into the link. +2. Select the text that you want to make into the link. #. Click the link icon in the toolbar. @@ -210,7 +213,7 @@ You can add a link in an HTML component to any file you've uploaded for the cour Make sure to include both forward slashes (/). .. image:: /Images/HTML_Insert-EditLink_File.gif - :alt: Image of the Inser/Edit Link dialog box with a link to a file + :alt: Image of the Insert/Edit Link dialog box with a link to a file #. If you want the link to open in a new window, click the drop-down arrow next to the **Target** field, and then select **Open Link in a New Window**. If not, you can leave the default value. @@ -219,6 +222,8 @@ You can add a link in an HTML component to any file you've uploaded for the cour #. Save the HTML component and test the link. +.. note:: When you add the file link in the format ``/static/FileName.type``, then later reopen the **Insert/Edit Link** dialog box, you see that the link changes to ``/c4x/edX/Course-name/asset/FileName.type``. This URL is OK and you do not need to change it. In the HTML view, the link appears as ``/static/FileName.type``. + .. _Add an Image to an HTML Component: @@ -232,19 +237,35 @@ You can add any image that you have uploaded for the course to an HTML component To add an image, you'll need the URL of the image that you uploaded to the course. You'll then create a link to the image in the HTML component. -#. On the **Files & Uploads** page, copy the URL of the image that you want. +#. On the **Files & Uploads** page, copy the **Embed URL** of the image that you want. -#. In the HTML component, switch to HTML view. + .. image:: Images/image_link.png + :alt: Image of the Files & Upload page with the Embed URL for the image circled -#. In the location where you want to add the image, enter an image tag that uses the following syntax. + .. note:: You must use the **Embed URL** to add the image, not the **External URL**. - ``
