[
https://issues.apache.org/jira/browse/CLEREZZA-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791916#action_12791916
]
Manuel Innerhofer commented on CLEREZZA-38:
-------------------------------------------
I suggest to implement this service in the project
org.apache.clerezza.platform.content.thumbnails. I propose it does the
following steps to retrieve an image representing the specified InfoDiscoBit:
- If the InfoDiscoBit has a DISCOBITS:thumbnail property, then return the uri
of the thumbnail.
- If no thumbnail is available then check if the media type of the InfoDiscoBit
has a icon (which represents the media type) and return its uri.
- If also no media type icon is available, then return a uri to a default icon.
This solution would require that media type resources have a property that
points to their icons. In which ontology would this property be defined? The
media type property is in the DISCOBITS ontology, so maybe there
(DISCOBITS:icon?).
> implement OSGi service that retrieves the thumbnail uri for a InfoDiscoBit
> --------------------------------------------------------------------------
>
> Key: CLEREZZA-38
> URL: https://issues.apache.org/jira/browse/CLEREZZA-38
> Project: Clerezza
> Issue Type: New Feature
> Reporter: Manuel Innerhofer
> Assignee: Manuel Innerhofer
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.