Opens in a new tab

Bricks – Images and files

You keep images, PDF documents and other files in the WordPress media library (Media → Library). From there, you add them to text, set them as a featured image or share them as a download link. This guide explains how to prepare and upload files, add alternative text (ALT) and use them on your website without slowing it down.

In short: images and files in 6 steps

  1. Before uploading, resize the image (longest side up to 2000 px) and save it as WebP or JPG.
  2. Give the file a descriptive name: lower case, no accented letters, words separated by hyphens.
  3. Upload it under Media → Add New Media File.
  4. In the details, enter the alternative text (ALT).
  5. Add it to content with the Add Media button, or set it as the Featured Image.
  6. Save the content (Update) and check how it looks on a computer and a phone.

1. Preparing images before uploading

Large images straight from a camera or phone (5–10 MB) slow the website down a lot. Prepare them before uploading:

  • Size – longest side up to 2000 px (full-width images); 1200–1600 px is enough for images in text.
  • Format – WebP (smallest files) or JPG for photos, PNG only for graphics with a transparent background. We upload SVGs, as they can contain code.
  • File size – aim for up to 300 KB per image. You can compress images with a free tool, e.g. Squoosh or TinyPNG.
  • File name – descriptive, e.g. white-coffee-cup-300ml.webp instead of IMG_4587.jpg. The name is visible in the image address and helps with Google search.

When you upload an image, WordPress automatically creates smaller versions (thumbnail 150 px, medium 300 px, large 1024 px), so you don’t need to upload the same image in several sizes.

2. Media library

In the left menu, choose Media → Library. The library shows all uploaded files, from newest to oldest:

  • Add New Media File – upload new files.
  • Grid / list view – the list also shows the file name, author and the page the file is attached to.
  • Filter by type (Images, Video, Documents, etc.) and by date of upload.
  • Bulk select – select several files at once, e.g. for deleting.
  • Search – by file name, title and alternative text.
WordPress media library toolbar: add files, view, filters, bulk select and search
Media library: (1) add files, (2) grid/list view, (3) filters, (4) bulk select, (5) search.

3. Uploading files

Choose Media → Add New Media File and drag files into the marked area, or click Select Files. You can upload several files at once. The maximum size of a single file is shown below the area.

The Add New Media File page with the drag-and-drop area and the Select Files button
Uploading: (1) drop area, (2) Select Files button, (3) maximum file size.

You can also upload files directly while editing content (section 5, the Upload filestab). In that case, the file is automatically attached to the content you’re editing.

4. Image details and alternative text (ALT)

Click an image in the library to open Attachment details:

  • File information – date, name, type, size and dimensions. Check here that the image isn’t too big.
  • Alternative text – a short description of what’s in the image (e.g. White ceramic coffee cup, 300 ml). Screen readers read it out, and Google uses it in image search. Leave it empty for purely decorative images.
  • Title and Caption – the title helps you find your way around the library; the caption can be shown below the image on the page.
  • File URL – with the Copy URL to clipboard button, you get a link to the file, e.g. for an email or a link in text.
  • Edit Image – crop, rotate and flip the image directly in WordPress.
  • Delete permanently – the file is permanently removed from the server (see section 8).
The Attachment details window with alternative text, title, caption, file URL and the Edit Image and Delete permanently buttons
Image details: (1) file information, (2) alternative text (ALT), (3) title and caption, (4) file URL, (5) editing, (6) deleting.

Changes to the details (ALT, title, caption) are saved automatically when you leave the field.

5. Adding an image to text

In the post, page or product editor, place the cursor where you want the image and click Add Media above the toolbar.

The editor with the Add Media button and the Featured Image box
Editor: the Add Media button above the toolbar and the Featured Image box at the side.

In the Add Media:

  1. window, upload a new image (the Upload filestab) or choose one in the Media Library.
  2. Click the image to select it and check the alternative text on the right.
  3. In Attachment Display Settings choose the alignment (usually None or Centre), the link (None or Media File to enlarge on click) and the size (Large for an image across the text width).
  4. Click Insert into post and then Updateto save the content.
The Add Media window with tabs, filter, image grid, alternative text, display settings and the Insert button
Adding an image: choose the image, check the display settings and click Insert.

6. Featured image

The featured image represents a post, page or product in lists (e.g. on the blog or in an archive), when shared on social networks, and as the main image for products. Set it in the box on the right under Featured Image → Set featured image, choose the image and click Set featured image. Replace it by clicking the image, and remove it with Remove featured image.

The recommended aspect ratio for a featured image is landscape (e.g. 1200 × 630 px), so it also looks good when shared on Facebook or LinkedIn. For products, use the same background and aspect ratio for all products.

7. PDF documents and download links

Upload price lists, catalogues, data sheets or terms as PDFs just like images. Add them to text as a link:

  1. In the editor, click Add Media and choose the PDF (the Documents).
  2. Check the Title – this will be the link text (e.g. Price list 2026 (PDF)).
  3. Under Link To choose Media File.
  4. Click Insert into post. A link appears in the text that opens or downloads the PDF.
The Add Media window with the Documents filter, a selected PDF and the Link To Media File setting
PDF as a link: (1) Documents filter, (2) selected PDF, (3) link text, (4) Link To → Media File, (5) Insert.

You can also make the link manually: copy the File URLfrom the file details, select the words in the text and click the link icon. Give the PDF a descriptive name (e.g. price-list-2026.pdf) and keep it as small as possible (up to a few MB).

Updating a document: when a new version comes out (e.g. a new price list), upload the new file and replace the link in the text. Only delete the old file once it isn’t linked anywhere.

8. Deleting and editing files

  • Deleting from the library is permanent – the file is removed from the server straight away, not moved to the bin. An image that was added to text will no longer show on the page.
  • Before deleting a file, check the list view’s Uploaded tocolumn; the file may also be used elsewhere (e.g. in Bricks or on another page).
  • Images used by Bricks (section backgrounds, home page images, the logo) are replaced in Bricks. If you upload an image with the same name again, it gets a new name (e.g. -1) and isn’t replaced automatically.
  • It’s better to publish videos on YouTube and embed them on the page with a link; uploading large videos directly slows the website down and puts a load on hosting.

FAQ

Longest side up to 2000 px and file size up to 300 KB. For images in text, 1200–1600 px is enough. Use WebP or JPG.

A short description of the image's content, e.g. White ceramic coffee cup, 300 ml. Don't start with “image of…”. Leave the field empty for purely decorative images.

The most common reason is a file that's too big or an unsupported format. Resize the image and save it as WebP or JPG. The maximum allowed size is shown below the upload area.

Yes. Upload the image once and choose it in the media library wherever you need it. Just make sure you don't delete it while it's in use somewhere.

Upload the new version, replace the link in the text, and only delete the old file once it isn't linked anywhere.

Deleting from the library is permanent, so the image can't be restored from the bin. If you have a backup of the website, contact us and we'll try to restore it.

Need help?

Didn't find an answer?

Email or call us and we'll be happy to help.