diff --git a/package.json b/package.json
index 9d8b1fde..3143e5de 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
"test:coverage": "jest --coverage"
},
"dependencies": {
- "hooper": "^0.3.1",
+ "vue-masonry-css": "^1.0.3",
"linkifyjs": "^2.1.8",
"nextcloud-axios": "^0.2.0",
"nextcloud-vue": "^0.11.4",
diff --git a/src/components/PostAttachment.vue b/src/components/PostAttachment.vue
index 1f592b23..4a2dacc4 100644
--- a/src/components/PostAttachment.vue
+++ b/src/components/PostAttachment.vue
@@ -1,21 +1,16 @@
-
-
-
-
-
+
+
+
![]()
+
+
+
diff --git a/src/main.js b/src/main.js
index cc235656..1cbcd78c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -30,6 +30,7 @@ import vuetwemoji from 'vue-twemoji'
import contenteditableDirective from 'vue-contenteditable-directive'
import ClickOutside from 'vue-click-outside'
import VTooltip from 'nextcloud-vue/dist/Directives/Tooltip'
+import VueMasonry from 'vue-masonry-css'
sync(store, router)
@@ -56,6 +57,7 @@ Vue.use(vuetwemoji, {
className: 'emoji', // custom className for image output
size: 'twemoji' // image size
})
+Vue.use(VueMasonry);
/* eslint-disable-next-line no-new */
new Vue({