Small fix to display patient photo if extension is uppercase