Friday, 9 August 2013

Why can't I use .jpg file type image in a mvc 4 project?

Why can't I use .jpg file type image in a mvc 4 project?

I asked this question recently:
Image not displaying in my view while another image is...
I did not get back an answer but on a whim I changed the image file name
to bug.jpg and it still gave a broken link. Then I decided to change it to
bug.png and BAM! it worked. Does anyone know why the .png file type would
work and not the .jpg file type? Is there a setting in my project I have
to change to allow jpegs?

No comments:

Post a Comment