Complex and flexible solution for image fetching.