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

Medium thumbnail question

Silent-Rain

Chevereto Member
Hi,

A little question, is it possible to change the medium thumbnail picture from max hight to max widht? Therefor for new uploaded images.
 
Hello,

sorry for my bad englisch. I do my best :)
But, i think you have me not understand. However have i a solution found for my own question.
And have the width change repaced with height.

In the file app\lib\classes\class.image.php

PHP:
// Medium sized image
            if($image_upload['uploaded']['fileinfo']['height'] > $medium_size or $is_animated_image) {
                $image_medium_options = [];
                $image_medium_options['height'] = $medium_size;
   
                if($is_animated_image) {
                    $image_medium_options['forced'] = true;
                    $image_medium_options['height'] = min($image_medium_options['height'], $image_upload['uploaded']['fileinfo']['height']);
                }
 
Back
Top