Widoco icon indicating copy to clipboard operation
Widoco copied to clipboard

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

Open MarcKramerInfrabel opened this issue 1 year ago • 2 comments

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.

MarcKramerInfrabel avatar Jun 27 '24 08:06 MarcKramerInfrabel

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 avatar Jun 27 '24 08:06 dgarijo

ok thanks. i will give it a try.

MarcKramerInfrabel avatar Jun 27 '24 08:06 MarcKramerInfrabel