1

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.

1
  • [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
    Commented Jan 8, 2016 at 17:19

1 Answer 1

-1

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 and acknowledge you have read our privacy policy.

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