Keep your image library lean without manual work. New images dropped into a chosen Google Drive folder are compressed and saved to another folder, ready for web and sharing. Ideal for marketing teams, ecommerce stores, and anyone who handles many images.
The flow is simple and reliable. A Google Drive trigger checks a specific folder every minute for new files. When it finds one, it downloads the image, sends the binary file to TinyPNG using an HTTP request, reads the location from the response, then fetches the optimized file. The final step uploads the smaller image to a selected Google Drive folder and adds the word optimised to the file name. This cuts file sizes and speeds up publishing without anyone touching the files.
Setup takes a few minutes and uses your Google Drive account and a TinyPNG API key. Expect faster page loads, smaller storage use, and a simple pipeline that runs on its own. Great for product photos, blog graphics, and social media assets that need to stay light and fast.