Template talk:Recipe

Is there any way to have the template use the .png image when that's the only one available? Pages like Leaf only have a .png image at the moment.