diff --git a/components/module/Gallery.vue b/components/module/Gallery.vue index 7a0bfbb..dcb78fd 100644 --- a/components/module/Gallery.vue +++ b/components/module/Gallery.vue @@ -43,7 +43,9 @@ const cover = props.module.s3Key ? `https://space.r2.102415.xyz/${props.module.s :alt="module.title" referrerpolicy="no-referrer" loading="lazy" - :width="`500px`" + :width="module.imageWidth || undefined" + :height="module.imageHeight || undefined" + sizes="500px" />