• 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

Clear height size preview

Status
Not open for further replies.

Chukotka

Chevereto Member
Hello!
Tell those exact dimensions as clear height previews.
Should that be when casting the image was created with precise dimensions width and height dimensions are automatic.
 
Now for the preview size, height and width vystovlyayutsya in the config.
How to cancel the dimensions of height and leave only the width that would be the height of a rubber.
 
You want thumbnails that stick to a certain width and adjust the height?
 
I want the height of all that is not regulated will only be a certain width and height will be set automatically, depending on the original image.
 
Ok, that can be done. Go to includes/classes/class.upload.php and replace this:
PHP:
$this->ThumbResize = new ImageResize($this->working, $thumb_filename, $this->thumb_width, $this->thumb_height, true);

With this:
PHP:
$this->ThumbResize = new ImageResize($this->working, $thumb_filename, $this->thumb_width);
 
Status
Not open for further replies.
Back
Top