Media Manager
Upload an image and display it on your page
The Media Manager is October CMS's built-in file library. It gives you a central place to upload, organize, and browse images, documents, and other files. Any file you upload here is available to use across your entire site.
# Navigate to the Media Tab
- Click Media in the top navigation menu.
- You will see an empty library with a folder tree on the left and the main file area on the right.
This is where all your shared media files live: photos, logos, PDFs, anything your site needs.
# Upload an Image
- Click the Upload button in the toolbar (or drag a file from your computer directly into the Media Manager window).
- Select any image from your computer, such as a photo, a logo, or anything you like.
- Wait for the upload to complete. The image will appear in the file list.
You can create folders to keep things organized. Click the New Folder button and give it a descriptive name like images or blog. For this tutorial, uploading to the root folder is fine.
# Copy the File Path
- Click on the image you just uploaded to select it.
- Look for the file path displayed in the details panel. It will be something like
my-image.jpg(orimages/my-image.jpgif you put it in a folder). - Copy this path or remember it. You will need it in the next step.
# Display the Image on a Page
- Navigate to Editor → Pages and open About.
- Add an image tag using the
|mediafilter. Update the markup to include your image:
<h1 class="text-3xl font-bold mb-4">About</h1>
<p class="text-lg text-gray-600 mb-6">
This is another page using the same layout. The header, navigation,
and footer are identical. Only the content area changed.
</p>
<img
src="{{ 'my-image.jpg'|media }}"
alt="My uploaded image"
class="rounded-lg shadow-md max-w-full mt-6"
>
<p class="mt-6">
Go back to the <a href="{{ 'home'|page }}" class="text-blue-600 underline">home page</a>.
</p>
- Replace
my-image.jpgwith the actual file path you copied. - Click Save and preview the page.
Your image should now appear on the page, styled with rounded corners and a subtle shadow.
# Adding Media to Content Files
You can also insert images directly into content files using the Markdown editor's built-in toolbar.
- Navigate to Editor → Content and open my-content.md.
- Place your cursor where you want the image to appear.
- Click the Image icon in the Markdown toolbar.
- Select Browse Media Library. The Media Manager opens as a popup.
- Click the image you uploaded earlier and confirm.
- The image is inserted into your Markdown content automatically.
- Click Save and preview the home page to see the image rendered inside the content block.
This is a quick way to add images without writing any markup. The editor handles the |media path for you.
# How the |media Filter Works
The |media filter takes a path relative to your media storage root and converts it to a full URL:
{{ 'my-image.jpg'|media }}
This outputs something like https://yoursite.com/storage/app/media/my-image.jpg. You should always use this filter instead of hardcoding paths. It ensures your media URLs are correct regardless of your server configuration.
For the full reference on the Media Manager, including image resizing and cloud storage configuration, see the Media Manager documentation.
# The Editor Section is Complete
You now know the fundamentals of the October CMS editor: themes, layouts, pages, content blocks, and the media manager. Everything you build from here will use these concepts.
Continue to Content Management to learn how to create structured content types like blog posts and team members using Tailor blueprints.