contenta_vue_nuxt icon indicating copy to clipboard operation
contenta_vue_nuxt copied to clipboard

images do not work in demo site

Open marcvangend opened this issue 6 years ago • 2 comments

Today I installed the Contenta Vue Nuxt app, version 2.0.1, and the latest Contenta CMS demo site using the Quick Install method from https://www.contentacms.org/#install :

php -r "readfile('https://raw.githubusercontent.com/contentacms/contenta_jsonapi/8.x-2.x/installer.sh');" > contentacms-quick-installer.sh
chmod a+x contentacms-quick-installer.sh
./contentacms-quick-installer.sh

Unfortunately, images do not work. I did find out that the code on line 18 of components/RecipeDetail.vue should not be

              <img v-lazy="`${serverFilesUrl}/${recipe.image.thumbnail.url}`" />

but

              <img v-lazy="`${serverFilesUrl}/${recipe.image.thumbnail.uri.url}`" />

I haven't found a fix for the other images yet.

marcvangend avatar Jan 31 '19 09:01 marcvangend

I fixed most of the images. I'll create a merge request asap.

luksak avatar Apr 10 '19 20:04 luksak

There you go: #53

luksak avatar Apr 10 '19 20:04 luksak