manifest / integrations / rede
Remote EXIF Data Endpoint
Creates an endpoint to return EXIF data of remote images.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/emrikol/rede/archive/refs/heads/master.zipDeclares an update source (https://github.com/emrikol/rede/), so updates arrive through the plugin's own updater.
From the readme
Remote EXIF Data Endpoint
A WordPress plugin that exposes a read-only REST API endpoint for retrieving EXIF metadata from remote images. Some hosting providers don't have the exif PHP extension enabled — or enabling it on your primary site isn't worth the effort. This plugin can be installed on any secondary WordPress site to offer EXIF data over a simple authenticated API. Images are fetched securely through the WordPress HTTP API, validated, and their metadata is returned as clean, JSON-ready data.
Features
- Fetches remote images via wpremoteget() — respects WordPress proxy settings, SSL, and timeouts
- Validates that the URL points to a real image before reading metadata
- Transforms raw EXIF output into clean, API-friendly data:
- Rational strings ("50/1") → floats (50.0)
- EXIF timestamps ("2024:01:15 14:30:22") → ISO 8601 ("2024-01-15T14:30:22")
- GPS degrees/minutes/seconds → decimal degrees (GPSDecimalLatitude, GPSDecimalLongitude)
- GPS altitude → signed float (GPSDecimalAltitude, negative below sea level)
- Best-available datetime exp