Finding balance between image load time and quality