bug fix image size zero, should preload the image on another hidden img tag