You need to replace in function image_advance_resize this code:
$dst_w=$src_w;
$dst_h=$src_h;
on:
$dst_w=$w;
$dst_h=$h;
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix-the-logic.patch | 1.25 KB | anup.singh |
You need to replace in function image_advance_resize this code:
$dst_w=$src_w;
$dst_h=$src_h;
on:
$dst_w=$w;
$dst_h=$h;
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix-the-logic.patch | 1.25 KB | anup.singh |
Comments
Comment #2
dench0Correct version of this function:
Comment #3
anup.singh commentedAttach is the patch, I have tested and its working