jmiller 1aa58e1d8d feat: add social image generator with GD-based OG image compositing (#157)
Replace basic single-size OG image generation with full-featured
multi-platform social image compositing:

- Platform-specific canvas sizes: Facebook 1200x630, Twitter 1200x675,
  Instagram 1080x1080, Stories 1080x1920
- Vertical linear gradient fallback when no source image available
- Semi-transparent overlay with configurable color and opacity (0-100%)
- Logo placement in top-right corner, auto-scaled to 15% of canvas width
- TTF text rendering with word wrap and text shadow for readability
- GD bitmap font fallback when no TTF fonts are available
- Configurable text position: top, center, or bottom
- Output to images/mokosuitecross/{articleId}_{platform}.jpg
- Cache clearing per article via clearCache() method
- ImageController AJAX endpoint with platform parameter validation
- Full config fieldset: enabled toggle, overlay color/opacity,
  text color/position, gradient start/end, logo upload

Authored-by: Moko Consulting
2026-06-29 06:32:18 -05:00

Contributor Covenant Code of Conduct

Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone.

Our Standards

  • Be empathetic and kind
  • Be respectful of differing opinions
  • Accept constructive feedback
  • Own mistakes and learn from them

Unacceptable behavior includes sexualized language/imagery, trolling, harassment, doxing, and other inappropriate conduct.

Enforcement

Report incidents to hello@mokoconsulting.tech or through GitHub Discussions if you prefer a community-visible approach. Private complaints will be reviewed promptly and fairly.

Enforcement Guidelines

  1. Correction — Private warning
  2. Warning — Formal warning and limited interaction
  3. Temporary Ban — Time-boxed exclusion
  4. Permanent Ban — Removal from the community

Attribution

Adapted from the Contributor Covenant v2.1.

S
Description
Cross-posting Joomla content to social media, email marketing, and chat platforms
https://mokoconsulting.tech/support/products/mokosuitecross Readme
9.3 MiB
2026-06-29 14:10:27 +00:00
Languages
PHP 98.8%
HTML 1.2%