• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Missing EXIF fields

Status
Not open for further replies.

Wink

Chevereto Member
▶🚶‍Reproduction steps
  1. Upload any photo with EXIF
  2. Try to find any EXIF fields with any date, such as DateTimeOriginal or DateTimeModified
😢Unexpected result

Nothing found. We don't see any date.
For example: https://demo.chevereto.com/i/sdl3264-waves-club.wJ8

This is my quick fix to solve this issue

1. Open /app/lib/functions.render.php
2. Find
PHP:
switch ($key) {
    case 'DateTime':
    case 'DateTimeOriginal':
    case 'DateTimeDigitized':
        $value =  preg_replace('/(\d{4})(:)(\d{2})(:)(\d{2})/', '$1-$3-$5', $value);
    break;
3. Replace with
PHP:
switch ($key) {
    case 'DateTime':
    case 'DateTimeOriginal':
    case 'DateTimeDigitized':
    case 'DateTimeModified':
        $value = (isset($Exif->$key))? preg_replace('/(\d{4})(:)(\d{2})(:)(\d{2})/', '$1-$3-$5', strval($Exif->$key)) : '';
    break;
 
Thank you for reporting this, the patch will be included in the next revision.
 
Status
Not open for further replies.
Back
Top