Added image loading utility