• 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

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