How to save image to the local storage

Hi i am new to elixir. In my app i am trying to upload image for user profile. In user_params Plug.upload looks like

%Plug.Upload{content_type: “image/jpeg”, filename: “image5.jpg”, path: “/tmp/plug-1496/multipart-42452-600322-1”}

Now my question is how to change the path to store image for the local storage?

@nishanthg92: Did you read this article: File Uploads?