Open Graph for ez Publish

/ Published in: eZ Publish
Save to your folder(s)

logo_fb.png should be at least 50x50px and have a maximum aspect ratio of 3:1

Copy this code and paste it in your HTML
  1. <html xmlns=""
  2. xmlns:og=""
  3. xmlns:fb=""
  4. xml:lang="{$site.http_equiv.Content-language|wash}" lang="{$site.http_equiv.Content-language|wash}">
  5. ...
  6. <meta property="og:title" content="{ezini('SiteSettings','SiteName', 'site.ini')|wash}" />
  7. <meta property="og:type" content="book" />
  8. <meta property="og:url" content="{$requested_uri_string|ezroot('no')}" />
  9. <meta property="og:image" content="{'logo_fb.png'|ezimage(no)}" />
  10. </head>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.