The Sitecore Media Library: Organising and Optimising Images and Files

Every image is an item too

In Sitecore, uploaded images, PDFs, and videos live in the Media Library as items. They have fields, versions, and security, just like content.

Organisation

Mirror how editors think:

/media library/Project/MySite
   /Brand
   /Banners
   /Products
   /Documents

Avoid dumping everything into one folder.

Required Metadata

  • Alt text — make it mandatory via validation
  • Title and description
  • Keywords for search

Image Parameters

Sitecore can resize images via URL parameters (e.g. ?mw=800 max width) with media request protection to prevent abuse. In headless setups, image optimisation is often handled by Next.js image components or a CDN.

Versioned vs. Unversioned Media

Media items can be versioned per language (useful for images containing text) or unversioned (one file for all languages).

Delivery

  • In XM Cloud, media is delivered through Experience Edge / CDN
  • Use modern formats (WebP, AVIF) where possible
  • Lazy-load images below the fold

When to Use a DAM

If you manage thousands of assets across many channels, with rights management and approvals, use a DAM like Sitecore Content Hub and connect it to your sites.

A clean media library is invisible to visitors — they just get fast pages with the right images.

Arivanandhan Chitheshwaran