Hello, i have created new app with custom node type [code]mgnl:pkcategory[/code].
I am using [code]info.magnolia.dam.app.ui.field.definition.DamUploadFieldDefinition[/code] to store the uploaded image. I can edit images, upload them and delete them just fine. My problem is displaying the images on the front end, i have created custom component and model to provide data for template. How can i get the link to the image, i tried all of the asset functions in damfn and stkfn in the template, but i am always getting null or error. My environment: magnolia: 5.3 stk: 2.7 magnolia-dam-templating: 2.0 Here is the model code: https://dpaste.de/MeYe/raw Here is the template code: https://dpaste.de/RyAD/raw Form definition: https://dpaste.de/YxsP/raw Thank you, any help much appreciated. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=1af103ec-04e8-4924-a229-384a40268583 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
