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.
精彩评论