Image upload from gallery or camera

Hi,

I have a ionic app which stores the data in sqlite database , here we want to provide a functionality where we want to upload images and associate them with the database record, like one comment can have multiple images, such type of relationship.

Can any one suggest how to achieve this in optimum way.

Thanks,
Seema Sharma