Replace "all" CMS function with "light" to obtain the list of all images and removed some logs.