check if image are loaded