I'm trying to create a dynamic user profile og:image so that when a users profile is linked it will display there avatar and name.
I've successfully created the image using Image Processing and with Get Requests I can piece the user's data together to create the image.
The end URL looks like this, domain.com/profile/image.php?name=jim&avitar=face.png
but I've now worked out that most messaging platforms such as Discord appear to require a solid image such as .png or .jpg
How I can make this work?
Note that adding .png or .jpg to the end of the link didn't work
Ok I worked out the issue. I was playing around with some other meta tags and found og:image:width
and og:image:height
when I set these the image was displayed correctly.