【问题标题】:Default mime type icons from Alfresco来自 Alfresco 的默认 mime 类型图标
【发布时间】:2021-05-05 11:49:17
【问题描述】:

我使用 Alfresco 和 CMIS。 请问是否可以使用 CMIS 和上下文获取 mime 类型图标? 如果在这里:https://www.alfresco.com/abn/adf/docs/core/services/thumbnail.service/#mat-icon 我只想要默认的 mime 类型图标而不是缩略图。

非常感谢。

【问题讨论】:

    标签: alfresco cmis


    【解决方案1】:

    尽管这篇文章已有 8 年以上的历史,但我相信它仍然适用:From CMIS how do I get the thumbnail placeholder for Alfresco?

    基本上,CMIS 只会返回缩略图而不是占位符(这是您想要的)。

    但是,您可以通过扩展直接转到 mimetype 图像:

    分享:

    http://localhost/share/components/images/filetypes/(extension)-file-48.png

    例子:

    http://localhost/share/components/images/filetypes/jpg-file-48.png

    露天:

    http://localhost/alfresco/images/filetypes/(扩展名).png

    例子:

    http://localhost/alfresco/images/filetypes/jpg.png

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-12-08
      • 2012-09-14
      相关资源
      最近更新 更多