Make it possible for the gallery to hide part of the images under the spoiler, if there are 40 pictures on the page in the gallery, then 10 will be shown and who needs to be able to click the "Wipe more" button and the next 10 will open.
In the settings, specify the number of displayed images, the number to open with each click on the "Watch more" button.
And now the module displays all photos from the category and this is a problem for the page loading speed