Enable phone camera and capture image using cocos creator

How can we enable phone camera and capture user images in cocos creator version 2.4.4?

You can refer to this project in the store.

If you open the Cocos Store and don’t see the work, then you can refresh the interface and reopen the link (there is a possibility that the opening may fail due to network problems)