Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images do not work in demo site #50

Open
marcvangend opened this issue Jan 31, 2019 · 2 comments
Open

images do not work in demo site #50

marcvangend opened this issue Jan 31, 2019 · 2 comments

Comments

@marcvangend
Copy link

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.

@luksak
Copy link
Contributor

luksak commented Apr 10, 2019

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

@luksak
Copy link
Contributor

luksak commented Apr 10, 2019

There you go: #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants