Responsive images with ImagePlus and pThumb on new Gen.2 platforms Modx Cloud not working as expected

That just did it! Awesome, thank you!

Have you reported this to james-heinrich? Anything in the vendor package is pulled down via composer.

Not yet.

The “erroneous code” is several years old. This use case doesn’t seem that uncommon. Surely someone must have noticed this bug before.

Am I missing something obvious here?

Anyhow, the “fix” I posted above is wrong for other values of zc (like “T”, “B”, “L”, “R”, “TL”, “TR”, “BL”, “BR”).
So I guess I have to study the phpThumb code more closely.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.