Allowing users to upload profile pictures


#1

Hello Ionic Devs,

I have an app that allows users to select a profile picture from their device gallery (or camera). How do I achieve this?(The picture will be saved to Parse).

Also, I want them to be able to edit this profile picture in their profile page, how do I achieve this too? I’ve tried a lot of ways to get this profile picture issue working but no luck.

Thanks for your help guys.


#2

use image picker plugin and show the image in another view. In that view you can use the js plugins for crop or editing. check ngCordova for the plugin and google for editing the photos. There are many js libs out there.


#3

Try these plugins, they will allow you to upload and crop the image.



#4

Alright. I’ll try it out. Thanks a lot.


#5

Hey. The plugins were really helpful. Thanks