- Images should ideally be no less than 2000px on the shortest side. It’s best not to go below this size so that the image remains at good quality for high retina screens. Images for the web must be in .jpeg, .png or .gif format
- Avoid using ‘rogue’ characters in file names. When saving any image or document for use on the web you should not include any characters other than those from the alphabet (lowercase) and underscores (_) – this includes spaces. If you do include characters such as spaces or & or , in file names this may cause problems displaying them.
- To insert an image into a page or post click the ‘Add Media’ button at the top left of the editing panel.
- The ‘featured image’ is usually the image that will be the main ’chosen’ image to represent the page and will appear in any listing pages. (e.g. if it is on an event this is the image that will appear in the listing of all the events).
- Featured Image is usually found at the bottom right of the editing page
- When selecting ‘Add Media’ or ‘Set featured image’ you will see a library of all the media (images, sound files, video files) you (and everyone else) have uploaded so far.
- You can either select an image from the library or upload a new one from your computer.
- Although the media library isn’t ordered you can search for images using the search box. The search will look for any text associated with that image, so filling in the title and alt text field is really useful for this.
- Click ‘insert into page’ or ‘set featured image’
- When the image is in the page you can click on it it to reveal some editing options which appear at the top, this allows you to make some basic edits to the image e.g. left, centre or right align the image:
- Clicking the pencil icon will bring up some more editing options such as resizing the image.
- There is a drop down list of built in image sizes under ‘size’ – often when you first insert an image into a post it is too small, so it is a good idea to check this and make sure it is set to the appropriate size for the page.
- Linking images– The default option for linking the image is ‘Media File’ – this means when an image is clicked it will show a larger version of itself in a modal. If you want the image to link to a page on the site then you can change it to ‘Custom URL’ and enter the URL of the page you want it to go to. If you don’t want it to link to anywhere then select ‘none’ from the list.
- Image alt text is used by screen readers to describe an image to people with visual impairments when having a website read out aloud to them. Add captions and descriptive alt text to all photos, images and maps used throughout the site.
WHY: Adding information and alt text to every image makes visual content more accessible to partially sighted magnifier users and blind screen reader users as well as compatible with other assistive technologies. A short text description of an image can unlock the information within a picture and enrich the experience and understanding of a story for users. Without alt text the screen reader just reads the word ‘image’ when reading the webpage. As you can imagine this can be very frustrating for the user.
- There is a field in the media library called ‘Alt text’ – you will see this on the right hand side when an image is selected. Enter your description of the image here. Search engines will mark the site down if the alt text field is left blank.
- You can also edit the alt text by clicking on the pencil symbol
- Images help to liven up the content, ensure that images used are simple and with high contrast if possible.
Cropping and editing images
This can be done within WP, find some useful instructions here: https://premium.wpmudev.org/blog/crop-image-wordpress/
- To add an image to the page either click the plus sign and select image or choose image from the quick buttons on the right:
- You will be given the option to upload from your computer or from the media library which includes all of the media (images, sound files, video files) you (and everyone else) have uploaded so far.
- When you have inserted the image into the page you can resize it by clicking on it once. Two blue dots will appear – on the right and at the bottom, which you can drag to change the size (you can also use pre-determined sizes in the options panel on the right hand side) :
- You can also add a caption to the image here.
- When you click once on the image you will also see some options appear at the top right:
- Here you can left or right align the image. When you select this the text below will wrap around the image.
- On the right hand side panel you will see more options for the image: