Skip to content

Convert social images from SVG to PNG format#43

Merged
satnaing merged 2 commits into
mainfrom
feat/svg-og-to-png
Mar 1, 2023
Merged

Convert social images from SVG to PNG format#43
satnaing merged 2 commits into
mainfrom
feat/svg-og-to-png

Conversation

@satnaing
Copy link
Copy Markdown
Owner

@satnaing satnaing commented Mar 1, 2023

Convert social images from SVG format to PNG format to avoid SVG limitation, especially in Twitter social cards.

This PR will close #40

satnaing added 2 commits March 1, 2023 18:28
In production mode, generate og images from svg to png format.

fix #40
Update OG image format in post detail to png. Update twitter og images to auto generated dynamic og
images.
@satnaing satnaing merged commit 27507d1 into main Mar 1, 2023
sytjason added a commit to sytjason/astro-paper that referenced this pull request Mar 5, 2023
feat: generate og images in png format (satnaing#43)
@satnaing satnaing deleted the feat/svg-og-to-png branch May 15, 2023 07:58
qwaxgo pushed a commit to qwaxgo/qwaxgo-astro-template that referenced this pull request Apr 29, 2025
* feat: generate og images in png format

In production mode, generate og images from svg to png format.

fix satnaing#40

* refactor: update og image format from svg to png

Update OG image format in post detail to png. Update twitter og images to auto-generated dynamic og
images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert SVG generated previews to PNG

1 participant