create a specific methode for preload image in the drawer