Fixed issue with images form and uppercase extensions