wallpaper: now checks if the file is a image