Compare contain and cover on a widescreen projection slide

Use two figures and a shared 2:3 test card to see what object-fit does to a poster on a 16:9 slide. The captions work through both scale factors and show why the outer credits can disappear when the artwork fills the frame.

html
<style>
  .crop-example{max-width:46rem;margin:2rem auto;padding:0 1rem;font:1rem/1.55 system-ui;color:#182333}
  .views{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem}
  .views figure{margin:0}.views figcaption{margin-top:.4rem}
  .screen{display:block;width:100%;aspect-ratio:16/9;background:#203850}
  .fit{object-fit:contain}.fill{object-fit:cover}
  .crop-example a{color:#1454a1}
</style>
<article class="crop-example">
  <h1>How much of a portrait poster fits a widescreen slide?</h1>
  <p>Both slides below display the same 2:3 test card. Compare the outer bands and the central circle to see which parts survive each sizing rule.</p>
  <div class="views">
    <figure><img class="screen fit" alt="The complete card, including both colored bands, fits between wide side margins." src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cpath fill='%23f8db9d' d='M0 0h100v150H0z'/%3E%3Cpath fill='%23b54137' d='M0 0h100v24H0zM0 126h100v24H0z'/%3E%3Ccircle fill='none' stroke='%231e5865' stroke-width='5' cx='50' cy='75' r='23'/%3E%3C/svg%3E"><figcaption><strong>Contain.</strong> A 1,000 × 1,500 poster scales to 720 × 1,080 inside a 1,920 × 1,080 slide, leaving a 600-pixel margin on each side.</figcaption></figure>
    <figure><img class="screen fill" alt="Only the central portion of the card remains; the red bands at the top and bottom fall outside the frame." src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cpath fill='%23f8db9d' d='M0 0h100v150H0z'/%3E%3Cpath fill='%23b54137' d='M0 0h100v24H0zM0 126h100v24H0z'/%3E%3Ccircle fill='none' stroke='%231e5865' stroke-width='5' cx='50' cy='75' r='23'/%3E%3C/svg%3E"><figcaption><strong>Cover.</strong> The same poster scales to 1,920 × 2,880. Only its middle 1,080 pixels appear on the slide, or 37.5% of the poster.</figcaption></figure>
  </div>
  <p>Keep title text and important edges inside the central band when the slide must be filled. Preserve the whole image when the poster itself contains credits.</p>
  <p>SeedMivo Guides built this example for its projection worksheet. The catalogue’s <a href="https://seedmivo.st/about">poster source note</a> credits The Movie Database for its artwork. The test card here is an original geometric illustration.</p>
</article>

Feedback (0)