Adjust image select function.