On Jul 22, 2011, at 4:59 PM, Magnolia Forums (on behalf of M D.) wrote: > The following code is used STKUtil.getAsset().getLink(). > it shows a full path using localhost instead of my domain. > > Code using the following code seems to be fine however > LinkUtil.createLink(content) > > Is there anything I'm missing? Any hint would be most appreciated. >
What's the value of your config:/server/defaultBaseUrl ? Is it correct? IDTS The followup question would be why Magnolia tries to generate absolute link instead of relative one for your image ... that is probably related to your site configuration ... try to look at mapping or domains configuration of your site. HTH, Jan ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
