Thursday, 20 February 2020

og:image / multer question

I'm uploading image to database using multer, which stores it as binary. I know how to show this file on the page, but when it comes to meta og:image tag, it requires url and not data string. I've seen some solutions using php, but I am looking for javascript / node.js solution. How can this be done?each page is supposed to have different og:image tag, so I can't just hard code single image, it needs to be dynamically set

Submitted February 20, 2020 at 04:15PM by wywrd

No comments:

Post a Comment