Hi,

I know there's been lots of discussions about generating links in the past but 
I still could do with some help. ;-)

What is the easiest way to generate an absolute URL (e.g. 
https://mysite.com/page1/page2/myimage.png) from an STK asset?

I can get the relative link using:
String myImgLink = stkFunctions.getAssetLink(page, "myImg");

(where myImg is a dam control)

But how to get an absolute URL from an asset? Is there anything available in 
the Magnolia API for this? I guess something with the LinkUtil class?

cheers,

Edgar

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=f9a69377-1308-4ea0-8898-c8d0a0e233de


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to