Skip to main content
Chemistry LibreTexts

3.3: Adding Images and Figures

  • 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. Avoid TIFF. 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 image files used uploaded to the LibreTexts, preferable in the module itself. DO NOT HOTLINK images. Hotlinks in general are prone to vaporization.

    The Medium Way - Copy and Paste Screenshots

    Often when integrating content from dead libraries like PDF or scanned images, the Print Screen option can be used. On PC, there is a "Print Screen" button on the upper right corner of the keyboard that will take a screen shot of the screen and store it in the computer clipboard. This can then be "pasted" directly via the control-v combination directly into the LibreTexts Editor. The problem with this is that the image that is being copied and pasted via this mechanism will typically have superfluous content around it and will need to be cropped before editing. There are two ways to address this:

    • Paste the screen shot into a image editor (e.g., Paint in Windows or Powerpoint) and then crop it in that respective software, save into a file and drag-and-drop into the page as discussed above.
    • Alternatively, a screen shot snipping tool can be used to selectively copy the image on the page from the rest of the screen (sort of like pre-cropping) and then you can paste directly into the editor (

    There are other snipping tools available via a simple Internet Search. Apple computers have a similar snipping tool. You can use Shift-Cmd-4 to save a screen snip of an image on the screen. This image file can then be edited as needed and then imported into a LibreTexts page, following the protocol described above.

    Formatting Figures

    Double-click on an image (in edit mode) to open its settings and make sure these settings are set correctly:

    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}\): Copy and Paste Caption here. (Copyright; author via source)

    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. You can use (\PageIndex{n}\) to sequentially number tables, videos, examples, etc. All figures should be open source, if possible provide a link to the original source.

    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.

    Advanced (alt-texts)

    Each Figure and Table has a simple option to add alt-texts. Just double click on the image to get the figure setting (Figure 1.3.1) and you can add alt-test into the entry. See section on Alt-texts for more details.

    3.3: Adding Images and Figures is shared under a CC BY 1.3 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?