diff --git a/pages/gallery.jsx b/pages/gallery.jsx
index 2f3db5ff..7006780b 100644
--- a/pages/gallery.jsx
+++ b/pages/gallery.jsx
@@ -18,19 +18,31 @@ function getMeta() {
}
}
+function resize(maxWidth, width, height) {
+ const ratio = maxWidth / width
+
+ return [
+ width * ratio,
+ height * ratio,
+ ]
+}
+
const m = 1
-const AlbumImage = ({ data, alt }) => (
- `${url} ${density}x`)}
- />
-
`${url} ${density}x`)}
+ />
+