How to fetch all images from phone local storage

i want to implement a functionality through which i can get all local images from phone directory with related date in a array.
please provide solution,

Define “local storage”, define “all local images”. Which platform? How should it work? And what do you want for dinner?