This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
    Fibonacci
    
            
            
                    
                                            
        
    
        Hi, I have a some problem when create an plugin.
on backend, I have a image field and color. The 'color' is based on dominant color from the image. How to implement this case? FYI, on front end, I can do that because I have a control before or when the image uploading. So I can get the 'color' using 'color thief' package.
So, please tell me how to to that on backend. Because on backend the process is like a magic. :)
Thanks
    chris10207
    
            
            
                    
                                            
        
    
        you can manipulate your data in the model event described here : http://octobercms.com/docs/database/model#model-events
1-2 of 2