joeyvandijk / rimg

[DEPRECATED] A responsive image solution for browsers that support mediaqueries. Pure javascript and no server-side code.
http://joeyvandijk.github.io/rimg
MIT License
294 stars 25 forks source link

Fix for images with uppercase file extension #13

Closed klemens-u closed 8 years ago

klemens-u commented 8 years ago

.toLowerCase() breaks support for images with uppercase extension and is not necessary as far as I understand. Many devices store images as example.JPG.

joeyvandijk commented 8 years ago

I need to close this pull request, while the function is now only ment for determining content that is of an incompatible format, so lowercase makes the if-call easier.