I have started a small angularjs app project using yeoman's generator-angular.
When adding jpg files to the app/images folder, and try to use an tag linking to one of these jpg files, they don't show up in the browser.
When using png files everything it ok (Using same absolute path /images/image.png and /images/image.jpg). If I use a remote URL to a jpg file everything works fine.
What am I missing here? I have the same problem using the tag. When using a local absolute path, it doesn't work and when I use a remote url everything is fine.
Many thanks for your time and help.
Are you using html5Mode? If so and if you are using connect-modrewrite to rewrite urls to index.html, make sure you have excluded jpg and jpeg files. I recently encountered the same issue and didn't realize my rewrite rule was excluding png images but not jpeg.