Added support for additional image extensions