fix image div attrs