Mediagallery Plugin v1.9.0 POP
MediaGallery 1.9.0 is a maintenance and modernization release focused on compatibility, PHP 8 hardening, SEO, interoperability and language coverage.
It builds on the MediaGallery 1.8.0 modernization foundation while preserving compatibility with Geeklog 2.1.1 and newer, including Geeklog 2.2.2.
Highlights
- Preserves compatibility with Geeklog 2.1.1 and newer.
- Keeps PHP 5.6-compatible syntax while validating PHP 5.6, 7.4, 8.1 and 8.3.
- Completes remaining PHP 8 runtime hardening, including the work associated with issue #11.
- Improves handling of optional, legacy and imported media metadata.
- Adds and refines Schema.org structured data for albums and media.
- Improves canonical URLs and content-specific meta descriptions.
- Adds optional Open Graph and Twitter/X metadata delegation to the OGP plugin, with standalone fallbacks when OGP is unavailable.
- Improves interoperability with other Geeklog plugins and shared services.
- Centralizes MediaGallery release and compatibility metadata in
version.php. - Improves plugin code-version detection and upgrade consistency.
- Adds or refreshes 13 maintained UTF-8 translations.
- Updates release documentation, changelog and distribution validation.
PHP 8 compatibility
MediaGallery 1.9.0 completes additional PHP 8 compatibility work identified during testing of legacy and imported content.
Optional media metadata is now normalized before renderer dispatch, preventing undefined-array-key warnings for values such as:
- media resolution;
- display resolution;
- remote-media state;
- remote URLs.
This completes the remaining runtime hardening associated with upstream issue #11.
SEO and structured data
Album pages now expose richer Schema.org structured data using CollectionPage and ItemList.
Media pages continue to publish content-aware structured data such as:
ImageObject;VideoObject;AudioObject.
Local media URLs used in structured data are normalized to absolute public URLs.
Album and media pages also provide improved content-specific meta-description fallbacks instead of relying only on the site's generic description.
Optional OGP integration
When the OGP plugin is available and exposes OGP_registerSocialMetadata(), MediaGallery can delegate Open Graph and Twitter/X metadata to it.
MediaGallery remains responsible for canonical URLs, descriptions and Schema.org data.
When OGP is not installed or does not expose the expected API, MediaGallery continues to generate equivalent social metadata itself.
Interoperability
MediaGallery continues the interoperability work introduced in 1.8.0.
The plugin exposes provider-neutral metadata and services intended for use by Geeklog consumers such as Hub, Agent, Eclipse, IndexNow and XML Sitemap without requiring direct access to MediaGallery's private database tables.
Compatibility fallbacks remain in place for supported Geeklog 2.1.1 installations.
Release metadata and upgrade consistency
MediaGallery 1.9.0 introduces a canonical version.php file for release and compatibility metadata.
It defines:
- MediaGallery version
1.9.0; - minimum Geeklog version
2.1.1.
Runtime bootstrap, installer and upgrade logic now consume the same canonical values.
The distribution workflow also validates that plugin.json remains consistent with the installer metadata.
This removes ambiguity between the installed database version and the version reported by the plugin code.
Language updates
MediaGallery 1.9.0 adds or refreshes the maintained UTF-8 language set using the current English language files as the structural reference.
The maintained languages are:
- Spanish
- Italian
- Japanese
- Russian
- Chinese (Simplified)
- Chinese (Traditional)
- Hebrew
- Persian
- French Canada
- French France
- German
- German Formal
- Spanish Argentina
The language files are synchronized structurally with the English reference and included in the release archive.
Compatibility
MediaGallery 1.9.0 supports:
- Geeklog 2.1.1 or newer, including Geeklog 2.2.2;
- PHP 5.6-compatible syntax.
Automated PHP syntax validation covers:
- PHP 5.6
- PHP 7.4
- PHP 8.1
- PHP 8.3
Upgrading
Existing MediaGallery 1.8.0 installations can upgrade directly to 1.9.0.
MediaGallery 1.9.0 does not require a new database schema migration beyond the existing 1.8.0 state.
Sites upgrading directly from MediaGallery 1.7.x must still follow the persistent-media migration procedure introduced with MediaGallery 1.8.0 before replacing the plugin through Geeklog's ZIP uploader.
Always keep a current database and media backup before upgrading a production site.
Distribution archive
The validated installable archive is:
mediagallery_1.9.0_2.1.1.zip
The archive contains a single top-level mediagallery/ directory and is validated automatically for integrity, required files, metadata consistency and supported filenames.
