Skip to main content
Chemistry LibreTexts

4.2: Adding Images

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Images can be added to LibreTexts via two primary mechanisms:

    Adding Figures the Hard Way - Manual Upload

    Three steps to add non-copyrighted (e.g. public domain, Creative Commons, original photos or figures) images or pictures:

    • "Save" the figures into jpg, png, gif or some other graphics file depending on the program you are using to make the image.
    • Then "attach" the file using the lower right hand button on the page or under the "more" button.
    • Then "edit" the page with the edit button and "link" the file to your page with "insert/edit image" button.

    Adding Figures the Easy Way - Drag and Drop

    • "Save" or "export" the figures into jpg, png, gif or some other graphics file depending on the program you are using to make the image (JPG and PNG are preferred).
    • Drag and drop the image from your desktop to your page (while editing).

    Drag and Drop.png

    Additional factors to pay attention to regarding figures

    • NO BMP figures are allowed to be imported. Use PNG, JPG, GIF figures instead.
    • Please CROP your figures to remove superfluous white space that makes reading your module awkward. The Microsoft Office Picture Editor or Paint will crop images and is free on MS operating systems.
    • All figures constructed for this project must have the original non-image files used uploaded to the LibreTexts, preferable in the module itself. DO NOT HOTLINK images.

    Formatting Figures

    Double click on image (in edit mode) to open settings and make sure settings are set correctly. Sometimes using Responsive results in over large images. In that case use adjust the size of the image by dragging the corners.

    Figure \(\PageIndex{1}\): Image settings

    To center justify figure, click on the right side of the image (not the figure) and you can use the center justification for text off the normal editing toolbar.

    Figure \(\PageIndex{2}\): How to center justify figures

    Adding Captions

    To add a caption add a line under the figure formatted as

     Figure \(\PageIndex{i}\): Captiontext 

    where \( i \) is the number of the figure on the page. This automatically formats the caption into the caption style you see on the figures on this page. Unfortunately, if you add another figure that requires renumbering the figures after it this still has to be done manually.

    Figure captions Format

    The figure label should be formatted as shown for the figure above:

    • Center justified
    • "Figure" in bold followed by numbering with a page index command and a colon like this: Figure \(\PageIndex{1}\):
    • Manually enter the figure number in the \Pageindex command, "1" for the first figure of the page, "2" for the second, etc.

    Alt-Text for Accessibility

    Each Figure and Table has a simple option to add alt-texts. Just double right click on the image to get the figure setting and select image properties from the menu that appears and you can add alt-test into the entry. See section on Alt-texts for more details.

    4.2: Adding Images is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?