tags:

views:

200

answers:

2

Hey guys! Any Alfresco experts out there?

I have created a document type in Alfresco and am trying to associate it with an image -- Somehow. 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..?

A: 

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.

Jean Barmash
+1  A: 

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

Then implement it within a custom dialog.

Nicolas Raoul