sjaakp / yii2-illustrated-behavior

Adds image to ActiveRecord
http://www.sjaakpriester.nl/software/illustrated
MIT License
43 stars 17 forks source link

crop not applied #12

Closed raoul2000 closed 1 year ago

raoul2000 commented 8 years ago

Hi, I'm using 1.1.0 on a very basic case copied from the README. The upload is ok, but the crop is not applied. I've noticed that even if the POST request does include the JSON crop hash, it is no assigned to $crop which remains NULL.

any idead how to fix this ?

Thanks

argearriojas commented 8 years ago

Hi @raoul2000

Same problem here. Did you find a way to make it work?

argearriojas commented 8 years ago

I've found this trace message at the debug log:

Failed to set unsafe attribute '__picture_crop__'

Any ideas on how to fix this?

raoul2000 commented 8 years ago

no, i didn't find a way so i wrote my own ...