Easy sample code (start with this first!)
<div aria-hidden="true"><img alt="Roadmap design" src="//libapps.s3.amazonaws.com/customers/1639/images/Roadmap_Design.jpg" /></div>
Sample code for resizing an image
Try this code if your image needs to be resized (especially if it's too big). Depending on your goal, you can change the width percentage to make an image smaller or bigger.
<div align="center" aria-hidden="true"><img alt="Womens Health" src="//libapps.s3.amazonaws.com/customers/1639/images/Womens_Health.jpg" style="width: 90%;" /></div>
Complex sample code
Here are some additional components that can be added to your image if needed.
<div align="center" aria-hidden="true"><img alt="Changing p tags to div" src="//libapps.s3.amazonaws.com/customers/1639/images/ChangingTags.PNG" style="border:1px solid #333; margin-top: 5px; margin-bottom: 5px; width: 90%;" /></div>
Providing alt (short for alternative) text for images is required for accessibility. Even if you add aria-hidden="true" to your image, including alt text is always a good idea.
To add alt text, enter the text in the Alternative Text field when adding or editing an image.
We must purchase all photos through iStock. We can't just pull them off of the web. Please contact Alexis or Mike about an image for your guide, as they are the keepers of the images account. Note that we only have so many monthly credits to spend, so we may be unable to procure your image immediately.
The LibGuides image manager, found under the Content menu, allows for a personal and a shared library. You should always use the shared library.
The image library is organized into folders on the left. Use the Guide Photos folder for single photos used on a guide page. If you are creating a guide with many screenshots or intend to use many images, creating a separate folder for that guide may make sense.
Important: Once you delete an image asset from the library, it will permanently delete it from any guide it currently resides in.