created jpg version of avatar