Goodmorning,

While working on the datamodule, I run into this little problem.

The edit dialog for the data type allows for the upload of an icon:

[cid:[email protected]]


The upload works well, I can see the the binary type in the config:
[cid:[email protected]]

Now when I create a data node based on this type, I want to show the icon using 
the GenericDataAdminTreeConfig. I can add an icon like this:

tree.addItemType(typeDefinition.getName(), image);

But the image here is a String, not a Binary type or stream or whatever. Can 
you help me here?

Of course I can put the image in the dms, and then simply link to it, but I 
suspect there is a way to show the binary stored image in the tree, but I have 
no clue.

Regards, Bert


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

<<inline: image001.png>>

<<inline: image002.png>>

Reply via email to