Recent Topics

How to set image fit- format and change them?

Started by on Jul 05, 2013 – Contents updated: Jul 05, 2013

Jul 05, 2013 07:05    

Just installed 5.0.4 and looking to change image formats. The ones available do not suit me.

What do I need to do to add a format of fit-WWWxHHH that is totally new.
I know I need to change format in /skinname/posts.main.php but that alone does not do the trick.
I would appreciate your kind help.

Jul 05, 2013 22:10

in the file /conf/_advanced.php , look for:

PHP

/**
 * Thumbnail size definitions.
 *
 * NOTE: this gets used for general resizing, too. E.g. in the coll_avatar_Widget.
 *
 * type, width, height, quality, percent of blur effect
 */
$thumbnail_sizes array(
            'fit-720x500' => array'fit'72050090 ),
            'fit-640x480' => array'fit'64048090 ),
            'fit-520x390' => array'fit'52039090 ),
            'fit-400x320' => array'fit'40032085 ),
            'fit-320x320' => array'fit'32032085 ),
            'fit-160x160' => array'fit'16016080 ),
            'fit-160x160-blur-13' => array'fit'1601608013 ),
            'fit-160x160-blur-18' => array'fit'1601608018 ),
            'fit-160x120' => array'fit'16012080 ),
            'fit-80x80' => array'fit'808080 ),
            'crop-80x80' => array'crop'808085 ),
            'crop-64x64' => array'crop'646485 ),
            'crop-48x48' => array'crop'484885 ),
            'crop-32x32' => array'crop'323285 ),
            'crop-15x15' => array'crop'151585 ),
            'crop-top-80x80' => array'crop-top'808085 ),
            'crop-top-64x64' => array'crop-top'646485 ),
            'crop-top-48x48' => array'crop-top'484885 ),
            'crop-top-32x32' => array'crop-top'323285 ),
            'crop-top-15x15' => array'crop-top'151585 ),
    );


Form is loading...

blogging software – This forum is powered by b2evolution CMS, a complete engine for your website.