Match case insensitive file extensions for photo uploads