fix image upload and link on ipad