Gallery not showing despite using template? #207
-
I think this must be simple, but I'm unable to find out what's going on. I've added a Funding and affiliations section on the Team page similar to the GreeneLab website itself, but not only will the gallery not populate correctly, but the images themselves are not showing. Here is the github site. I thought it might be because of how the gallery is defined, especially because with other websites in your examples, the gallery is defined using different language (for example, this site's version). What do you suggest? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I'm out of office today and on my phone right now. But as for the grid not working, check this docs page: https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/grid You need to put an empty line between each image if using markdown in the grid. As for the images not showing, your markdown syntax of an image wrapped in a link seems correct, but maybe check that it is valid markdown. |
Beta Was this translation helpful? Give feedback.
The figure component already accepts a link parameter:
https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/figure
As for the linking issue, I'm imagining it must be a problem with you not including your base url in the link. See this part of the docs:
https://greene-lab.gitbook.io/lab-website-template-docs/basics/write-basic-content#advanced
This page/section may need to be made a little clearer.
Basically, try removing the first slash in your image urls to make them relative.