Page 1 of 1

Add OG:Image

Posted: Tue Jan 23, 2018 10:14 am
by mpca86
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 6873 times

Re: Add OG:Image

Posted: Tue Jan 23, 2018 10:20 am
by Luc
Interesting idea! Can you explain it a bit more?
By the way, what are we looking at? An automatic bird photographic device?

Cheers, Luc

Re: Add OG:Image

Posted: Tue Jan 23, 2018 10:36 am
by mpca86
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:

Re: Add OG:Image

Posted: Wed Feb 07, 2018 9:34 am
by tobydude
Hi.
Where exaxtly in heather.php should the code be put?