photo upload working on chrome and safari on iphone