feat: social image generator with GD-based OG images (#157) #199
Reference in New Issue
Block a user
Delete Branch "feature/157-social-image-generator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n\n- Add SocialImageHelper with PHP GD-based image compositing for OG/share images\n- Platform-specific sizes: Facebook (1200x630), Twitter (1200x675), Instagram (1080x1080), Stories (1080x1920)\n- Configurable overlay color/opacity, text color/position, gradient fallback colors, logo\n- ImageController AJAX endpoint for on-demand generation\n- New social_image fieldset in component config\n\nCloses #157\n\n## Test plan\n\n- [ ] Enable social image in component options\n- [ ] Generate image for article with featured image\n- [ ] Generate image for article without featured image (gradient fallback)\n- [ ] Verify all 4 platform sizes produce correct dimensions\n- [ ] Check overlay and text rendering with different settings