Add OG:Image

Post Reply
User avatar
mpca86
Observer
Observer
Posts: 13
Joined: Tue Jan 16, 2018 9:41 pm
Location: Poprad
Station model: NodeMCU ESP8266
Software: via API
Contact:

Add OG:Image

Post by mpca86 » Tue Jan 23, 2018 10:14 am

It's just an idea not a necessity. Image generated via the "stickers" plugin.
For example:
Snímka obrazovky z 2018-01-23 11-10-34.png
Snímka obrazovky z 2018-01-23 11-10-34.png (246.69 KiB) Viewed 5926 times

User avatar
Luc
Developer
Developer
Posts: 168
Joined: Mon Aug 21, 2017 6:40 am
Location: Paramaribo, Suriname
Station model: Davis Pro 2 (2x)
Software: WeeWX
Contact:

Re: Add OG:Image

Post by Luc » Tue Jan 23, 2018 10:20 am

Interesting idea! Can you explain it a bit more?
By the way, what are we looking at? An automatic bird photographic device?

Cheers, Luc
Image

User avatar
mpca86
Observer
Observer
Posts: 13
Joined: Tue Jan 16, 2018 9:41 pm
Location: Poprad
Station model: NodeMCU ESP8266
Software: via API
Contact:

Re: Add OG:Image

Post by mpca86 » Tue Jan 23, 2018 10:36 am

In my case, this is as follows:
header.php added rows:

Code: Select all

<meta property="og:image" content="https://sturcel.sk/meteo/plugins/stickers/sticker_fb.php?text=Teraz%20v%20Poprade&bg=267&shadow=0&font=Roboto-Bold&color=white">
		<meta property="og:image:secure_url" content="https://sturcel.sk/meteo/plugins/stickers/sticker_fb.php?text=Teraz%20v%20Poprade&bg=267&shadow=0&font=Roboto-Bold&color=white"/>
		<meta property="og:image:width" content="900"/>
		<meta property="og:image:height" content="472"/>
sticker_fb.php is is modified stickerInteractive.php

btw: No, it's just a simple feed for birds and a "temporary" solution for the location of the weather station. The photo just looks like a single device :lol: :D :oops:

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Add OG:Image

Post by tobydude » Wed Feb 07, 2018 9:34 am

Hi.
Where exaxtly in heather.php should the code be put?

Post Reply