Skip to main content
Chemistry LibreTexts

2.3: Adding Figures

  • Page ID
  • There are two primary mechanisms to add figures to pages in the LibreTexts libraries:

    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.

    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.

    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 "Prince 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-P 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. Two ways to address this:

    • Past the screen shot into a image editor (e.g., Paint in Windows or Powerpoint) and then crop in that respective software, save into a file and drag and drop into the page like discussed above.
    • Alternatively, a screen shot snipping tool can be used to selectively copy the image of 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 products should have a similar snipping tool, but we are currently unfamiliar with their use; a similar protocols should be used on these computers.

    Formatting Figures

    Double click on image (in edit mode) to open settings and make sure settings are set right:


    Figure \(\PageIndex{1}\): Image properties for Libretexts figures.How to Center Justify Figures?

    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 in to 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

    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.
    • The description of the figure is in italic.

    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 \(\PageIndex{1}\)) and you can add al-test into the entry.