Trying solution to slow image loading