Building load image function