WordPress basics · Photos and images

Upload photos and files

Add photos, PDFs and other files to your WordPress Media Library so they're ready to use on any page or post, and find the link to share a file.

  • About 3 minutes
  • 5 steps
  • Updated November 7, 2026

Before you start: You need to be logged in to your website, with the photo or file saved on your computer.

The Media Library is the storage room for every photo and file on your website. Once a file is uploaded, you can use it on any page or post, as often as you like.

Go to Media › Add Media File

In the left menu, hover over Media and click Add Media File.

The Media menu open in the left-hand menu with Add Media File highlighted

Drag your files into the upload area

Drag one or more files from your computer into the box with the dashed border. You can also click Select Files and pick them from your computer.

The upload screen with the dashed drop area and the Select Files button

Tip: Below the box, WordPress shows the Maximum upload file size. Larger files are refused.

Wait for the upload to finish

A progress bar appears for each file. When it’s done, you see a small preview with an Edit link and a Copy URL to clipboard button.

A finished upload showing a thumbnail, the Edit link and the Copy URL to clipboard button

Tip: Use Copy URL to clipboard to get a direct link to a PDF, for example to paste into an email or a button.

Add a description for each photo

Click Edit next to the photo and fill in Alternative Text: one sentence that describes what the photo shows. This helps people using screen readers and helps Google understand your images.

Find your file in the library

Go to Media › Library to see everything you have uploaded. Use the search box or the All media items and All dates filters to find a file quickly.

The Media Library in grid view with the search box and the filters at the top

If something looks different

  • The menu says Add New or Add New Media File. You have an older version of WordPress. It’s the same screen.
  • “This file is too large” or “exceeds the maximum upload size”. Make the photo smaller before uploading. For a website, 2000 pixels wide is plenty. Free tools like Squoosh.app can shrink it.
  • “Sorry, you are not allowed to upload this file type”. WordPress blocks some file types for safety. Save the file as a common type (JPG, PNG, WebP or PDF) and try again.
  • The library shows a list instead of thumbnails. Click the grid icon at the top left to switch views.

Keep reading

  • News and blog posts

    Organize posts with categories and tags

    Sort your news and blog posts with categories and tags in WordPress, so visitors find related articles easily. Learn when to use each one.

    About 4 minutes

  • Menus

    Change your website menu

    Add, rename, reorder or remove links in your WordPress website menu. Works for classic themes (Menus screen) and block themes (Site Editor).

    About 5 minutes

  • Users and passwords

    Change your password and profile

    Update your password, email address and the name shown on your posts in your WordPress profile, and log out of other devices for extra safety.

    About 3 minutes

All WordPress basics