fix image directory \ to / for firefox