K
K
Ken Jee2016-09-23 15:56:24
Yii
Ken Jee, 2016-09-23 15:56:24

How to make smart resize using yiisoft/yii2-imagine in Yii2?

Actually, the task is to resize the image to an explicitly specified width using the yiisoft / yii2-imagine extension in Yii2, but the height should be calculated in proportion to the difference by which the width has decreased.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-09-23
@Machez

have a look here Yii2-imagine. How to crop an image proportionally in width?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question