<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MeetingBG</title>
    <description>The latest articles on DEV Community by MeetingBG (@meetingbg).</description>
    <link>https://dev.to/meetingbg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4185881%2F883dff1e-a62f-4bd7-8a24-88dfbdbf7f8d.png</url>
      <title>DEV Community: MeetingBG</title>
      <link>https://dev.to/meetingbg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/meetingbg"/>
    <language>en</language>
    <item>
      <title>Building a Static Background Gallery With Astro and No Backend</title>
      <dc:creator>MeetingBG</dc:creator>
      <pubDate>Wed, 28 Oct 2026 02:44:22 +0000</pubDate>
      <link>https://dev.to/meetingbg/building-a-static-background-gallery-with-astro-and-no-backend-4ea5</link>
      <guid>https://dev.to/meetingbg/building-a-static-background-gallery-with-astro-and-no-backend-4ea5</guid>
      <description>&lt;p&gt;People searching for a video-call background want one thing: click, download, done. No signup wall, no watermark, no "premium" grid. That single constraint shaped how I built a small gallery of 1920×1080 backgrounds for Teams and Zoom, and most of the work turned out to be file handling rather than design.&lt;/p&gt;

&lt;p&gt;The site is live at &lt;a href="https://meetingbg.com/?utm_source=devto&amp;amp;utm_medium=backlink&amp;amp;utm_campaign=launch-20261028" rel="noopener noreferrer"&gt;MeetingBG&lt;/a&gt;, if you want to see the result before reading the notes.&lt;/p&gt;

&lt;h2&gt;
  
  
  One manifest, many pages
&lt;/h2&gt;

&lt;p&gt;Every background lives in a JSON manifest: filename, title, page slug, alt text, dominant color. A small render step turns that manifest into static pages, and Astro builds the rest. There is no CMS, no image API, and no database to keep in sync.&lt;/p&gt;

&lt;p&gt;The trade-off is that adding a background means editing a file and redeploying. For a gallery that changes a few times a month, that is a feature: the build fails loudly if an image is missing, and the sitemap is generated from the same source of truth as the pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  The spec I refuse to compromise on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;1920×1080, 16:9. Anything smaller looks soft on a 1440p display, and anything non-16:9 gets cropped by both Teams and Zoom.&lt;/li&gt;
&lt;li&gt;sRGB, no CMYK exports. Phone screenshots and print exports are the two most common sources of washed-out backgrounds.&lt;/li&gt;
&lt;li&gt;Under roughly 400 KB per file. Teams will accept larger images, but uploads over a few megabytes make the "Add new" flow feel broken on older laptops.&lt;/li&gt;
&lt;li&gt;No important detail in the bottom third. That is where your name plate and the call controls sit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The size rules matter more than people expect, so I keep &lt;a href="https://meetingbg.com/zoom-background-size/?utm_source=devto&amp;amp;utm_medium=backlink&amp;amp;utm_campaign=launch-20261028" rel="noopener noreferrer"&gt;a size guide I keep sending people&lt;/a&gt; instead of retyping it in every reply.&lt;/p&gt;

&lt;h2&gt;
  
  
  Download links should be real links
&lt;/h2&gt;

&lt;p&gt;The download button is an anchor with a &lt;code&gt;download&lt;/code&gt; attribute pointing at the actual file, not a JavaScript handler that fetches a blob. Three reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Middle-click and "Save link as" work, which is how a lot of people actually save images.&lt;/li&gt;
&lt;li&gt;The filename survives: &lt;code&gt;office-desk-1920x1080.jpg&lt;/code&gt; is far more useful in a Downloads folder than &lt;code&gt;image7.jpg&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It degrades gracefully. If JavaScript fails, the gallery still works.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Three support questions that keep coming back
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;"I uploaded a new background but Teams still shows the old one."&lt;/strong&gt; Teams keys custom backgrounds by filename in the local cache. Rename the file, or upload under a new name, and the old entry stops winning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"The text in my background is backwards."&lt;/strong&gt; Zoom mirrors your self-view by default. Either avoid text in the image, or turn off "Mirror my video" while you check it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"My edges look ragged."&lt;/strong&gt; That is the segmentation model, not the image. A plain wall behind you and a background without a busy pattern right behind your head will do more than any resolution bump.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "no backend" bought me
&lt;/h2&gt;

&lt;p&gt;Static hosting on Cloudflare Pages, a sitemap generated at build time, and a deploy that takes seconds. Image variants are generated ahead of time, so the HTML ships with &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; on every image and there is no layout shift while the grid loads.&lt;/p&gt;

&lt;p&gt;The parts I would do differently next time: generate WebP and AVIF variants instead of shipping JPEG only, and store the dominant color per image during ingest rather than computing it in the browser for placeholders.&lt;/p&gt;

&lt;h2&gt;
  
  
  Numbers I check after every deploy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Largest Contentful Paint on the gallery pages, on a throttled connection. A 49-image grid will find your mistakes fast.&lt;/li&gt;
&lt;li&gt;Cumulative Layout Shift. Zero, or the grid is broken.&lt;/li&gt;
&lt;li&gt;Every download link returns 200 and the correct &lt;code&gt;Content-Type&lt;/code&gt;. A gallery that 404s on the "Download" button is worse than no gallery.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is novel. It is just the unglamorous part of shipping a content site that people actually use: fixed dimensions, real files, real links, and a build that refuses to guess.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>astro</category>
      <category>performance</category>
      <category>design</category>
    </item>
  </channel>
</rss>
