fix image upload/display