hi First off: thanks for the replies. Modifying the module so it can use dam is not interesting for us, because we don't intent on using that. What we are actually looking for is a way to work with different media from different sources. We already have an image server that contains a huge amount of data, and one of the things i would like to find out is if the meda module can be extended (by us :-) ) to integrate with this system.
But first things first. I got the selection of images to work, and now i actually want to show the image using The el functions that are part of the media tld. My assumption is that i should first use getContent([mediaSelection]) to get the content node, and then something like getUrl([contentNode]) and so on. Perhaps to my shame I find it a trifle hard to access these functions in my freemaker template. I am new to freemaker, but it seems straightforward. First declare the taglib: [#assign media=JspTaglibs["http://net.sourceforge.openutils/mgnlMedia"]] Then get the content Node: $...@media.getnode("b83d0546-759c-43a3-8ceb-d63a2eda5723")} does not work: Expression @media is undefined [...@media.getnode("b83d0546-759c-43a3-8ceb-d63a2eda5723") /] does not work: Expression media.getNode is undefined [...@media.getnode "b83d0546-759c-43a3-8ceb-d63a2eda5723" /] does not work: media.getNode not found so, I'm out of ideas. Could anyone point my nose in the right direction please? regards, Ernst 2009/11/11 Grégory Joseph <gregory.jos...@magnolia-cms.com>: > > > On Nov 11, 2009, at 3:14 PM, Will Scheidegger wrote: > >> >> Check the archives... a few days back I asked the same question. In order >> to select a picture it either as to be activated or you have to turn on the >> development flag in the properties. >> >> And yes, you would have to modify the templates. > > Another approach might be to modify said media module to make it dam-aware; > not sure how feasible it is at the moment, but the dam is intended to be > used exactly for that. > > Cheers, > > -g > >> On 11.11.2009, at 15:08, Ernst Bunders wrote: >> >>> >>> hello >>> >>> I am looking at the openmindLab media module, as a basis for hour >>> media management. The problem is how to integrate it with the stk. >>> I found the 'mediaSelection' control and naively added an instance to >>> the stkTextImage dialog, and this indeed created a 'select' button >>> which opens the selection dialog. >>> But alas, I can not select an image here. Perhaps some configuration >>> is missing in the control configuration. What's missing? >>> >>> But I suppose that if this step would work, the image would not be >>> displayed in the site, as the that would require changes to the >>> stkTextImage paragraph template. >>> >>> So, how to go about this? how do I integrate the media module with the >>> skt? Any hints? exaples? >>> >>> regards, >>> >>> -- >>> Ernst bunders >>> Ontwikkelaar VPRO >>> >>> ---------------------------------------------------------------- >>> For list details see >>> http://www.magnolia-cms.com/home/community/mailing-lists.html >>> To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> >>> ---------------------------------------------------------------- >>> >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> >> ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> > ---------------------------------------------------------------- > > -- Ernst bunders Ontwikkelaar VPRO ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------