Fallback for file extensions

/images/head-large.png will search for head.png first. If not found, look for head.gif, head.jpg, head.jpeg, and so on.