Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Image is not going to be shown

Started by Muut Archive 10 years ago · 2 replies · 356 views
10 years ago

I've just start using grav and doing a tutorial.
The question is when I print "![Water] (../img/water.jpg)" in my default.md in a folder, there is no any image on the page. I have this text "![Water] (../img/water.jpg)" written on it. How can I display it?
It should be easy to do it as I see in tutorial.

10 years ago

Ideally, images for a post are saved in the same folder as the post. Then you just ![Water](water.jpg). Otherwise the path is resolved as normal. Double check that ../img/water.jpg actually exists.

10 years ago

To be honest, I've just put it image in my folder before read your answered. =)
My error was a space between ![...] and (...).
Thank you for answering)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1360 9 years ago
Archive · by Muut Archive, 9 years ago
2 939 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1122 9 years ago