Important part fields: make file extension test case insensitive

Show important part fields for images independent of the case sensitivity of the file extension.