add function getImage in file offline_data_update.js