Complex solution for image fetching.