My question is: Is this the right way to specify the file extension?. I could open the file from ie,paint etc. But the problem is I was not able to include it in <img> tag using HTML. I appreaciate if someone could help me out. Thanks
The img tag doesn't support TIF. The only reason IE opens the file is because Windows associates the TIF file extension with Kodak Imaging for Windows program. Use a PNG, JPG or GIF if you want to embed the image in HTML.