I'm using getURL() as follows in my Craft template:
{% set sharingImageURL = entry.sharingImage[0].getUrl('socialMedia') %}
Every time the output is a root relative URL and I'd like it to be a complete URL (including http://www.mydomain.com).
I can't figure out how to make that work. Can I do it with getURL() or is there a different method I should be using? Would appreciate some guidance!
Thanks.
{% set sharingImageURL = 'http://example.com' ~ entry.sharingImage[0].getUrl('socialMedia') %}. – carlcs May 26 '15 at 17:40