开发者

Alfresco 3 Labs: Adding a thumbnail to a document

Hey guys! Any Alfresco experts out there?

I have created a document type in Alfresco and am trying to associate it with an image -- Someh开发者_StackOverflowow. I don't really mind how it's done - an image uploader in the metadata section when saving the actual document would be nice, but I can live with having to upload the image first and then associating it somehow with the document.

Any ideas..?


First read how to create relationships between nodes (the nodes being a document and an image).

Then implement it within a custom dialog.


Have you taken a look at the thumbnail service? It allows you to create thumbnails of documents / images. This is the official doc and a good blog post here.

Even if you don't use it, you can take a look at how its content model works and implement something similar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜