octobercms / october

Self-hosted CMS platform based on the Laravel PHP Framework.
https://octobercms.com/
Other
11.03k stars 2.21k forks source link

Get the path of image when changed #1426

Closed surahmans closed 8 years ago

surahmans commented 9 years ago

I have read this document http://octobercms.com/docs/backend/forms#field-dependencies.

I need to change the 'color' field when the 'photo' field has changed. How to implement this?

I have tried many and many but still cannot resolve this case.

FYI, I want to get the dominant color of the image using color thief package. It's doesn't matter and work on front end. But I can't do that on backend.

Thank you,

daftspunk commented 8 years ago

The GitHub issue list is for reporting bugs in the OctoberCMS code base specifically. Please try the following support avenues for getting support with using October:

daftspunk commented 8 years ago

You need the color field to depend on the photo field.