You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix non-standard props in non-cloud envs
* Fix image transforms ignoring focal points
The fields() override called normalize(), which mutated the model by writing computed CF values (fit, gravity, etc.) onto $this. Since Yii's toArray() calls fields(), any serialization path (e.g. srcset via getUrlsBySize) would pre-fill gravity from position, blocking the focal point override in ImageTransformer.
Remove fields()/normalize() and refactor toOptions() to compute derived values into the returned array without mutating the model.
Fixes#144
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
* code style
---------
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
0 commit comments