-
Notifications
You must be signed in to change notification settings - Fork 0
Images, Links, & Documents
There is no need to upload different images for thumbnails or main content. Wagtail will take care of all resizing and cropping for each use case.
- Image You can update the image with "Edit this Image" or replace the image altogether with "Change Image." To add a new image, see "Adding Image" below for more info.
- Caption Information or detail about the image
- Alignment Wrap the image left, right, or extend full across the page.
Note: Alternate text, text for persons who use screen readers (ADA compliance), is auto populated with the Image Title. This is the title you give images when you uploaded the image. You can edit the title by selecting the image in the edit view of the page and clicking the "Edit this Image" button.
- Click "Choose Image"
- Either select one from the image collection or click the tab "Upload" to upload a new one.
- Title is used as the image alt text and is also how you can search for the image within Wagtail.
- Choose your file. If you do not populate "Title" it will automatically insert the file name.
- Choose "News" for the collection
- Add any tags that will help you find this image, if needed, later
- Click "upload"
- Click "Change Image" or "Edit This Image"
- Change image will lead you through the same steps as when you add an image.
- Editing the image allows you to replace the image with a new one, replacing every instance of the image on the website.
- When editing image, click the "Choose file" under the "Change Image File" area to replace the image with something different.
- Click Save.
You can batch load images by going to "Images" on the left sidebar in Wagtail's admin view.
- Click the "+ Add Images" button on the top right of the page
- From here you can drag and drop all of your images OR upload all the images with the "+ Or choose from your computer" button.
- (Optional) Choose a related collection name from the drop down for collections
- (Optional) Add any tags to help you find or group like images in the future
- Click update for each image item
There are three types of hyperlinks in Wagtail text:
Links to pages that exist within Wagtail. Use the > to navigate to the page you want to link to, or use the search box to find the page, based on its name or title or key words.
Links to pages that exist outside Wagtail. Enter the URL into the box (or copy and paste from your browser, with Ctrl+C and Ctrl+V).
Links to an email address. As a general policy, this is not recommended. Coming soon to Wagtail will be “contact” forms, which will be the recommended way for setting up email responses.
If you click on the link in a Paragraph box and select the “Remove Link” button on the toolbar, the hyperlink will be removed.
A document link goes to a file that has been uploaded to Wagtail. The document link button contains two choices:
- “search” for your document (if it is already uploaded)
- “upload” your document
The Upload screen has a box for entering your own titles (for organizational purposes), a browse command to find the file, a collection dropdown, and a keyword “tags” box for storing important keywords that can be used to search for the document.
Instead of folders, the document area has “Collections” where you can organize your documents. The default is the root collection—where all files are stored if not put into collections. This means that when you upload a document, it is very important to assign both a “title” and keyword “tags” so that it becomes easily searchable.
Video fields contain links to YouTube, Vimeo, or other source code online resources for videos. To use YouTube, for example, find the YouTube video you want to play on your page, then click on the YouTube “share” command. This will display a URL, which you can copy and paste back in the Wagtail video field. The video will be displayed at a pre-set page width, with a “Play” arrow in the center (does not play until someone clicks the arrow).