Resize Face to Texture Size

I think there is a way to resize a face to fit a texture, but I’m not sure how. I have a plane with a rectangular map texture on it, I need the plane to be the right size so that the map is not stretched. I know I can do this manually, but it would be a lot easier to do it automatically since I have a few objects I need to do it to. Thank you for any help.

Use the Images as Planes addon to add the textured planes http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Planes_from_Images

That’s perfect, and thank you for the quick reply!