In these gallery you can find...
Creating dynamic image gallery with filtered images.
Integrate a custom RESTAPI over Google Script
How to format a number using mask