aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryImage.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-01-09 02:10:35 +0100
committerZero~Informatique2020-01-09 02:10:35 +0100
commit89bcb2dbe5b5e6eb8e8ba13ceecee2770dfe4cd4 (patch)
tree8eb2c100707123f77ff6980c94e161d6214c648f /viewer/src/views/GalleryImage.vue
parentc1e334b883e28381851fca077ff36aee0387b1db (diff)
downloadldgallery-89bcb2dbe5b5e6eb8e8ba13ceecee2770dfe4cd4.tar.gz
viewer: Changed "image" type to "picture". Adapted the code to the current compiler output format. The currentItem and currentPath are calculated in the store for easier multi-component access. Breadcrumb for current's position and navigation.
Diffstat (limited to 'viewer/src/views/GalleryImage.vue')
-rw-r--r--viewer/src/views/GalleryImage.vue22
1 files changed, 0 insertions, 22 deletions
diff --git a/viewer/src/views/GalleryImage.vue b/viewer/src/views/GalleryImage.vue
deleted file mode 100644
index 04d29d9..0000000
--- a/viewer/src/views/GalleryImage.vue
+++ /dev/null
@@ -1,22 +0,0 @@
1<template>
2 <div>
3 <strong>Image: {{image.path}}</strong>
4 <img :src="imageSrc" />
5 </div>
6</template>
7
8<script lang="ts">
9import { Component, Vue, Prop } from "vue-property-decorator";
10
11@Component
12export default class GalleryImage extends Vue {
13 @Prop({ required: true }) readonly image!: Gallery.Image;
14
15 get imageSrc() {
16 return `${process.env.VUE_APP_DATA_URL}${this.image.path}`;
17 }
18}
19</script>
20
21<style lang="scss">
22</style>