jpg and png now working