-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Problem with showing images on list #1075
Comments
As mentioned in Slack, If it's an array, you need to iterate on it with a for loop. |
Sorry but I don't understand. On expert mode Frontmatter says:
That looks oke to me. |
|
Thank you allot Flavio. |
I have an onepage site. The manager works fine, but showing the uploaded images on the front page gives an error.
My onepage.yaml (see .afb)
So I have the option to upload an image:
This all works fine.
Then in my onepage.html.twig
The {{ diensten.kop }} works great.
It seems
{{ diensten.afb }}
gives an error."An exception has been thrown during the rendering of a template ("Array to string conversion")."
Do I need to add .media or some other way to "call" the image?
Just started experimenting with Grav. Does it need a partial?! Really have no idea.
The text was updated successfully, but these errors were encountered: