Implemented the fetch images call