Skip to main content
Chemistry LibreTexts

3.2: Adding Images

  • Page ID
    206473
  • 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 right:

    clipboard_ef15c662110a1988a01bc200e4ce54b61.png
    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.

    libretexts_section_complete_chem_sm_124.png
    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.

    • Was this article helpful?