• 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

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