Function to get properly keyed image request URL.