• 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.

Don't generate thumb

sunsetbld

Chevereto Member
Hello everybody :)

Thanks for the script, great job !

Here is my request : I don't need thumbs ! how not to generate thumbnails ??

Thanks in advance for your help
 
Hi Sunset, sadly the script needs the thumbs for the file manager (admin). You can hide the thumbs from the uploaded page if that works for you.
 
Hi Rodolfo :)

Of course, I understand. Thanks for that !

I do have another question (I don't know if I can in the same topic) but here it is :
Is it possible to define by default a desired width for everyone (I'd like that any picture is loaded with a 640px width) ? How produce that ?

Thanks again !
 
Every image forced to 640px even those who are smaller tha 640px or just those that are above 640px?
 
Open includes/classes/class.upload.php and replace this:

PHP:
            // Resize?
            if(check_value($this->resize_width)) {
                $this->ImageResize = new ImageResize($this->working, $this->working, $this->resize_width);
                if(check_value($this->ImageResize->error)) {
                    $this->error = $this->ImageResize->error;
                    return false;
                }
            }

With this:
PHP:
            // Resize?
            $info = get_info($this->working);
            if($info['width']>640) {
                $this->resize_width = 640;
            }
            if(check_value($this->resize_width)) {
                $this->ImageResize = new ImageResize($this->working, $this->working, $this->resize_width);
                if(check_value($this->ImageResize->error)) {
                    $this->error = $this->ImageResize->error;
                    return false;
                }
            }
 
Hi Rodolpho :)

Im' testing the version 3.8.8.
And same request like above.
Would it be possible for any picture to be loaded with a 640px width ? (Just those that are above 640px !)

I think its' in : app/lib/classes/class.upload.php

Many thanks in advance for your help

Best
 
Back
Top