The plugin now detects the file extension on an image by image basis, instead of relying on a single extension specified in the defaults or by the user.