Getting Started with BadouCMS
#CompanyNews ·2025-06-22 19:35:41
Image scaling function: resize_img
resize_img(string $src_image, int $max_width = 0, int $max_height = 0, int $img_quality = 90): string
Parameters: $src_image = source image path (required)
$max_width = width after scaling
$max_height = height after scaling
$img_quality = image quality
Use in tags: {$item.ico|resize_img='10','10'}
