view infinite_canvas/assets/image-view.html @ 281:c57149ad216e default tip

Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
author MrJuneJune <me@mrjunejune.com>
date Tue, 18 Aug 2026 22:18:15 -0700
parents b55c22cff335
children
line wrap: on
line source

<!doctype html>
<meta charset="utf-8">
<style>
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
</style>
<img id="image" alt="">
<script>
  const source = new URLSearchParams(location.search).get("src");
  if (source) document.getElementById("image").src = source;
</script>