I'm tring to create set of open graph tags for better sharing of my page. Unfortunatelly I cannot make Metatags output proper path to images attached to nodes. I have node with field_promoted_image. In metatags configuration I put: [node:field-promoted-image] [node:field-promoted-image:file:url] [node:field-promoted-image:file]

but all I get is field name or file name but without proper path.

  • [node:field-promoted-image:file:url] is the right token for image field. You will have to clear cache in order for your token change to take effect. Also, make sure that your OG images are stored in public files folder. – oksana-c Jan 8 '16 at 17:19

if you get the file name with [node:field-promoted-image:file:url] just put the right path bevore the token. yoursite.de/thepathtoimage[node:field-promoted-image:file:url]or maybe you can put the base path token before it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.