• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

to increase the number of days to store images

upload_2017-5-27_13-16-58.png

app/lib/classes/class.image.php

PHP:
    public static function getAvailableExpirations() {
        $string = _s('After %n %t');
        return [
            NULL        => _s("Don't autodelete"),
            'PT5M'      => strtr($string, ['%n' => 5, '%t' => _n('minute', 'minutes', 5)]),
            'PT30M'     => strtr($string, ['%n' => 30, '%t' => _n('minute', 'minutes', 30)]),
            'PT1H'      => strtr($string, ['%n' => 1, '%t' => _n('hour', 'hours', 1)]),
            'PT2H'      => strtr($string, ['%n' => 2, '%t' => _n('hour', 'hours', 2)]),
            'PT6H'      => strtr($string, ['%n' => 6, '%t' => _n('hour', 'hours', 6)]),
            'PT12H'     => strtr($string, ['%n' => 12, '%t' => _n('hour', 'hours', 12)]),
            'P1D'       => strtr($string, ['%n' => 1, '%t' => _n('day','days', 1)]),
            'P2D'       => strtr($string, ['%n' => 2, '%t' => _n('day','days', 2)])
        ];
    }
 
At boot chose to store the image for 5 minutes. It's been 45 minutes already, it's in place.
 
Last edited:
Was looking for this. 2 days is too short. I have set guest auto delete to 365 days so the disk space is recycled at least for guest users. Too bad there is no manual option to stop the auto delete once image uploaded.
 
Back
Top