diff --git a/src/components/globals/ButtonImage.vue b/src/components/globals/ButtonImage.vue
index 1e9922f..df27926 100644
--- a/src/components/globals/ButtonImage.vue
+++ b/src/components/globals/ButtonImage.vue
@@ -7,7 +7,7 @@
>
diff --git a/src/pages/gallery/GalleryView.vue b/src/pages/gallery/GalleryView.vue
index d17e020..eb381a9 100644
--- a/src/pages/gallery/GalleryView.vue
+++ b/src/pages/gallery/GalleryView.vue
@@ -5,7 +5,7 @@
-
![]()
+
@@ -30,7 +30,7 @@
class="gallery-view-btn-wrapper"
:class="buttonClasses[i]"
>
-
+
diff --git a/src/store/nodes.js b/src/store/nodes.js
index d4eb86d..88b1c72 100644
--- a/src/store/nodes.js
+++ b/src/store/nodes.js
@@ -40,6 +40,11 @@ export default {
node.variant = [{ id: 0 }]
}
+ if (node.images && node.images.length) {
+ const { url, alt, id } = node.images[0]
+ node.image = { alt, id, url: url.replace('api', 'api/sites/default/files') }
+ }
+
if ('creations' in node) {
if (node.creations) {
if (!Array.isArray(node.children)) {