fix image link after a wrong urlencode() bug