At my old host, I could display an image with:

img src="

The image name didn't need a .jpg or .gif. No matter which file type it had, it would display.

Now, at my new host, I must specify either .gif or .jpg for the image to load. Does anyone know an .htaccess trick or a bit of PHP code I can use to allow images to load without including the extension?