default extension to jpg