Jean-Francois Nadeau wrote: > I'm adding some images from assets to a richtextfield. When the content is > generated all links to assets are in this form : > > <img > src="/magnoliaPublic/mysite/dam/jcr:868a81a6-f270-465b-b6e7-a84c067628d0/myimage.png" > /> > > Is it possible for the richtextfield to generate complete URL to images with > the protocol and domain? How can I do that?
Due to Magnolia's flexible domain/URL mapping a component in a website tree like this rich text field could be available on multiple sites/domains/URL's, so there is no one single logical method to determine *the* domain. Protocol is also not easy, because your site could be behind a loadbalancer that does HTTPS-offloading (ours does) and Magnolia would never know its sites are publicly available via HTTPS. You could probably think up some way to define a custom mapping for your use case to determine the domain and protocol, but why do you want to generate URL's with protocol and domain in the first place? Nils. ---------------------------------------------------------------- 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: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------