diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2015-09-14 17:17:54 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2015-09-29 11:58:15 +0100 |
commit | 1dd68c2f6fed08b90fdaea8efd8c6bcf0399b8d8 (patch) | |
tree | d4db7638cb886906748571f007c2af15e46c8618 | |
parent | 9af214f26c2b10832977d715629e9e0fbf4ad349 (diff) |
Add new high-res default OpenGraph image.
Fixes #1184.
-rw-r--r-- | templates/web/fixmystreet/header_opengraph.html | 5 | ||||
-rw-r--r-- | templates/web/fixmystreet/header_opengraph_image.html | 4 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/fms-og_image.png | bin | 17387 -> 0 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/fms-og_image.jpg | bin | 0 -> 74387 bytes |
4 files changed, 5 insertions, 4 deletions
diff --git a/templates/web/fixmystreet/header_opengraph.html b/templates/web/fixmystreet/header_opengraph.html index f83296160..f728d083f 100644 --- a/templates/web/fixmystreet/header_opengraph.html +++ b/templates/web/fixmystreet/header_opengraph.html @@ -3,7 +3,4 @@ <meta property="og:site_name" content="[% site_name %]"> [% IF c.req.uri.path == '/' %]<meta property="og:description" content="Report, view, and discuss local street-related problems.">[% END %] <meta property="og:type" content="website"> - <meta property="og:image" content="[% c.cobrand.base_url %]/cobrands/fixmystreet/fms-og_image.png"> - <meta property="og:image:type" content="image/png"> - <meta property="og:image:width" content="500"> - <meta property="og:image:height" content="500"> + [% INCLUDE 'header_opengraph_image.html' %] diff --git a/templates/web/fixmystreet/header_opengraph_image.html b/templates/web/fixmystreet/header_opengraph_image.html new file mode 100644 index 000000000..7ec1aabb0 --- /dev/null +++ b/templates/web/fixmystreet/header_opengraph_image.html @@ -0,0 +1,4 @@ + <meta property="og:image" content="[% c.cobrand.base_url %]/cobrands/fixmystreet/images/fms-og_image.jpg"> + <meta property="og:image:type" content="image/jpeg"> + <meta property="og:image:width" content="1200"> + <meta property="og:image:height" content="630"> diff --git a/web/cobrands/fixmystreet/fms-og_image.png b/web/cobrands/fixmystreet/fms-og_image.png Binary files differdeleted file mode 100644 index 5bda935f8..000000000 --- a/web/cobrands/fixmystreet/fms-og_image.png +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/fms-og_image.jpg b/web/cobrands/fixmystreet/images/fms-og_image.jpg Binary files differnew file mode 100644 index 000000000..4659a8aca --- /dev/null +++ b/web/cobrands/fixmystreet/images/fms-og_image.jpg |