Portfolio - Display only 5 images but show all on click

Hello
I have 20 images in the portfolio widget.
I know there is the option to show as many of these as you like, but how do I go about shouwing only 5 or 10, but allowing the client to click on show all, and all 20 images display.

Currently if I only display say 10 images and you click show all, only the 10 images display.
Is there a way around this please??

Hello there,

I am sorry, there’s no way to accomplish it because the core code of Sydney doesn’t support it yet. So you should extend or modify the code yourself. I can’t provide you with the working code solution because it is considered as an advanced task that goes beyond our support policy. If you are interested, you can hire a freelancer on upwork.com or codeable.io.

Regards,
Kharis