Resize border/load initial image

I’ve been following a great tut someone posted here that resizes the border when images are loaded from an xml file.

My question is:
How can I load the first image (foto0.jpg) right away instead of just an empty box?? Anyone?

Thanks :slight_smile: