add localized and preloadimg method