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

Display a specific image for each classes, properties or named individuals. #715

Open
MarcKramerInfrabel opened this issue Jun 27, 2024 · 2 comments
Labels
new feature request for supporting a new feature

Comments

@MarcKramerInfrabel
Copy link

Is your feature request related to a problem? Please describe.

I try to display different images or a diagrams for specific classes, properties or named individuals.
I tried this code:
edm-application-direction:EdmApplicationDirection a skos:ConceptScheme ;
rdfs:comment "Indicates the allowed direction of railway trafic. (example using rdfs:comment)"@en ;
rdfs:comment """ assets/logo_infrabel_1000px.png """;
skos:prefLabel "Application direction"@en ;
skos:definition "Direction of application of a location"@en ;
skos:example """ assets/logo_infrabel_1000px.png """;
skos:example "Indicates the allowed direction of railway trafic. (example using skos:example)"@en;
foaf:depiction """ assets/infrabel-topology.png """.

But the image doesn't display:
image

Describe the solution you'd like
Is there a way to display images, i dont find a solution on your best practice documentation.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@dgarijo
Copy link
Owner

dgarijo commented Jun 27, 2024

At the moment we don't support displaying images for individuals or other concepts (vann:example will add them in a turtle box highlight). A workaround may be 1) to include it in markdown in the description of the term, or 2) as a direct link to the full image file, which won't be displayed in the html but at least will open

@dgarijo dgarijo added the new feature request for supporting a new feature label Jun 27, 2024
@MarcKramerInfrabel
Copy link
Author

ok thanks.
i will give it a try.

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

No branches or pull requests

2 participants