Upload and process files and images for YII2