SEOsite OG Image Generator — 0.1.15 (experimental)
Target: Joomla 5.4.12 / PHP 8.1+ / GD with FreeType and JPEG.
License: GPL-2.0-or-later. Website: https://seosite.day/

Install ZIP via System > Install > Extensions, then enable System - SEOsite OG Image Generator in Manage > Plugins. Back up the test site first. Save settings and clear Joomla/page/CDN caches. Open a published Public com_content article in a private browser window (guest). View source and find og:image. Open its URL: expected JPEG 1200x630. Test an article with and without images, long Cyrillic titles and all three templates. The image is generated on first anonymous article request and reused; the URL version query parameter changes when settings/title/source file metadata change. No changes to article content or database tables other than Joomla's own extension settings. No external requests. No automatic frontend branding or backlinks.

Requirements: images/ writable by PHP; common Linux TTF system font or a font you have permission to use placed inside images/ and specified in Font file. No fonts bundled. Local JPG/PNG/WebP images under images/ only. SVG and remote images are not fetched. Photo files >12 MB or >10 megapixels are skipped. This beta only handles core public single articles; guests only. Long titles may be truncated. Some scripts need fonts with appropriate glyph coverage.

Disable overlapping OG plugins or configure them to avoid duplicate metadata. Custom raw head tags from other extensions cannot be reliably overwritten by the standard metadata API. Do not use the plugin with access-restricted materials. Generated images are public static files; manually remove obsolete files when content is withdrawn or made private. Page-cache/CDN/social platform caches may need clearing after changes. Cached images are stored in images/seosite-og/; one stable JPEG per article (or language variant of a language-neutral article) is overwritten atomically when its fingerprint changes. To regenerate, change Cache revision. No remote update server, batch generation or per-article overrides in this beta.

Troubleshooting: enable Diagnostic logging briefly, open an article as a guest, check seosite_ogimage.php in the Joomla configured log directory. If no image, check GD/FreeType, fonts, permissions, public access and cache. Uninstall/disable the plugin to stop metadata output; images remain until removed manually. If admin cannot load, set enabled=0 for type=plugin, folder=system, element=seositeogimage in the actual Joomla-prefix extensions table, then clear cache. The package was syntax-checked; a full Joomla runtime installation and real GD rendering were not tested in the build environment.

0.1.1: Server diagnostics at top of plugin settings: GD, FreeType, JPEG, selected font, write test, synthetic JPEG preview and recent diagnostic log entries. Earlier metadata application after dispatch, with final HTML logging when debug is enabled. Clear caches after updating. Errors are logged even with debug off; enable debug briefly for detailed traces.

0.1.2: Super Users can install Lato Bold from the diagnostics screen. Only explicit button clicks download the font and SIL OFL license from the official Google Fonts GitHub repository over HTTPS. Files are stored under images/seosite-og/. Leave the custom font field empty to use the installed font automatically. If outbound HTTPS is unavailable, download the font manually from https://github.com/google/fonts/tree/main/ofl/lato and configure a local TTF.

0.1.3: Reconcile final HTML head, replace conflicting OG/X images by default, optional preserve mode, retain other social metadata and normalize malformed OG attributes. Place plugin after other social metadata plugins and clear caches.

0.1.4: Resolve missing category titles from the public article/category database join. Log category and show-category setting. Existing card cache keys already include category titles, so a corrected title generates a new JPEG URL. Clear page caches after updating.

0.1.5: Replace all five yes/no switchers with explicit select lists, retaining existing parameter names and values (1=Yes, 0=No). Diagnostics displays effective settings separately. After updating, explicitly select desired values, save, reopen and clear page caches. No migration overwrites saved choices.

0.1.6: Individual font sizes in points for brand, category, maximum article title and footer; category default increased from 19 to 24 pt. Title still fits automatically. Preview uses the same typography settings as articles and defaults to the actual site name and domain. Recent diagnostic log entries and log instructions are displayed only when diagnostic logging is enabled. Existing logs remain on disk; errors are still recorded for troubleshooting. The rendering revision invalidates old card cache keys.

0.1.7: Language-specific brand overrides (language-tag=name, one per line), using the article language or current frontend language for language-neutral articles. With no override, use shared brand, then Joomla content language site name, then site name. Preview language can be selected separately. Independent brand visibility, six logo positions plus automatic, adjustable maximum logo height. Layout reserves space for the logo and retains the name in centered mode. Existing external social metadata is still preserved.

Server diagnostics are collapsed when all checks pass, and open automatically when a check fails. The summary remains visible, including the overall result.

0.1.8: Separate always-visible card preview and collapsible server diagnostics. Preview language dropdown lists installed frontend languages and published content languages, and retains previously saved selections. Sample text supports English, Russian, Ukrainian, German, French, Spanish, Italian, Polish, Romanian, Portuguese, Dutch and Greek; other languages use English sample text while retaining localized branding. Save settings to update preview. Font dropdown includes readable known system fonts, installed Lato Bold, fonts under images/fonts/ and previously saved font paths. For additional fonts, upload licensed static TTF/OTF files to images/fonts/ using SFTP or the hosting file manager, then reopen settings. Keep licenses; check glyph coverage. Super Users can install Lato Bold using the font section if missing. Developer link appears in administrator settings only. Existing frontend card rendering revision is unchanged to avoid unnecessary cache regeneration. No font files are bundled.

0.1.9: Always-visible field descriptions in English, Ukrainian and Russian. Settings are organized with section headings. Localized site names use individual text fields for installed frontend and published content languages, with fallback placeholders. Previously saved full and short language codes are retained; the custom field saves to the same string format as previous versions. Blank values remove the explicit override. Preview is refreshed with Save; live article cards are generated on the next uncached guest visit. No rendering revision change.

0.1.10: Refresh preview button renders the current unsaved form settings using PHP GD. POST request is restricted to authorized administrator users and checked for a valid CSRF token. No draft files or configuration changes are written; transient JPEG returned to browser. Only one render per click, no automatic requests. Sample uses a solid background. Click Save to apply design to real article cards. Existing frontend rendering revision is unchanged.

0.1.11: Optional article title shadow (color, offsets, softness, opacity) and outline (color, thickness). Both off by default; available in saved and unsaved previews and actual cards.


0.1.13: Stable article JPEG filenames with versioned query strings, a JPEG comment fingerprint and atomic replacement. Language-neutral articles use separate files for each frontend language. The previous hashed filenames are not migrated or redirected; use Remove old-format cards once if they are no longer needed. Card cache tools show count, size and legacy count; Super Users can delete legacy files, files for missing article IDs, or all article cards. Destructive requests require POST and a CSRF token. Trashed articles remain in the database and are retained by orphan cleanup. Fonts, source images and the current preview are not removed. Full cleanup can temporarily invalidate shared images until the articles are visited again; clear page/CDN caches as needed. A cache-busting query string is not guaranteed to refresh every social platform or CDN. No automatic mass generation.

0.1.14 — public page cards
Home and category cards are enabled by default; other matched public component menu pages are opt-in. Home overrides support per-language headlines/subtitles, a local background image, layout and hex colours. Category descriptions are optional. Preview type is selectable. Home preview uses the global site description rather than the live menu description. Other menu previews use sample text. Cache filenames are stable; the query fingerprint changes with the content. Home/category/menu variants use the frontend language. Orphan cleanup checks content, categories and menu tables and retains home cards and trashed records. Full cache clearance removes all generated page cards, not the preview. Clear Joomla/CDN page caches after changes.

0.1.15 — fix public page routing: explicitly default missing task to an empty string, normalize command values, and add route/skip diagnostics. No cache migration needed.
