this is how we generate our shit.

This commit is contained in:
2023-08-07 22:08:54 -04:00
parent 26da7c6281
commit 1260cd5a8b

View File

@@ -12,9 +12,12 @@
<div style="border-top: 1px rgba(123,123,123,0.4) solid; border-bottom: 1px rgba(123,123,123,0.4) solid;"
class="p-5 mt-4 flex justify-evenly" v-for="photo in gun.photos">
<div>
<Image :src="`${remoteUrl}/gun/photo/${photo.id}/200/${photo.file_name}`" preview>
<Image preview zoomInDisabled zoomOutDisabled>
<template #image>
<img alt="image" :src="`${remoteUrl}/gun/photo/${photo.id}/200/${photo.file_name}`" />
</template>
<template #preview>
<img :src="`${remoteUrl}/gun/photo/${photo.id}/1200/${photo.file_name}`" alt="image"/>
<img :src="`${remoteUrl}/gun/photo/${photo.id}/${photo.file_name}`" alt="image"/>
</template>
</Image>
</div>