Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Whenever i upload image on to page, image is not showing live on page

first-time

Started by Mindtek It Solution 7 years ago · 1 replies · 861 views
7 years ago

Recently started working on GRAV CMS, i created many pages with texts but when i uploaded images in to image section and put the code on to same page that image belongs to same page, but still can't showing this images successfully. please help me and guide on this.

7 years ago

Hi @mindtek, welcome to the Grav forum.

What code did you try? Though HTML is allowed it's use in Grav pages content is discouraged. Grav is a markdown cantered CMS.

This is the markdown code to be used in page content: ![Image of an old typewriter](blog-header.png)
This is Twig code for use in templates: {{ page.media['blog-header.jpg'] }}

Please read the section about Media in the Grav documentation.

If you still run into problems explain what you did and what does not work in detail. I'm sure we can help you in that case.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 228 10 hours ago
Support · by alex, 2 months ago
8 667 1 day ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 160 3 days ago
Support · by TomW, 6 days ago
2 106 6 days ago