Fixed image types being case sensative.