Skip to content

Comments

fix(og-image): handle empty image content in imagecreatefromstring#304

Merged
Muetze42 merged 1 commit intomainfrom
development
Feb 7, 2026
Merged

fix(og-image): handle empty image content in imagecreatefromstring#304
Muetze42 merged 1 commit intomainfrom
development

Conversation

@Muetze42
Copy link
Owner

@Muetze42 Muetze42 commented Feb 7, 2026

  • Return false if the image content is empty to prevent errors when creating an image resource

fixes #301

- Return `false` if the image content is empty to prevent errors when creating an image resource

fixes #301
@Muetze42 Muetze42 merged commit 854be95 into main Feb 7, 2026
2 checks passed
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.

ErrorException: imagecreatefromstring(): Data is not in a recognized format

1 participant