https://github.com/rspective/voucherify-webflow-image-resizer
Resize Webflow images through Webflow API
https://github.com/rspective/voucherify-webflow-image-resizer
Last synced: about 1 year ago
JSON representation
Resize Webflow images through Webflow API
- Host: GitHub
- URL: https://github.com/rspective/voucherify-webflow-image-resizer
- Owner: rspective
- Created: 2020-06-01T18:16:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T22:23:00.000Z (over 3 years ago)
- Last Synced: 2025-05-13T20:37:06.460Z (about 1 year ago)
- Language: JavaScript
- Size: 66.9 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# voucherify-webflow-image-resizer
Resize Webflow images through Webflow API
This script downloads your images from your specified Webflow Collection, manipulates them, and then sends them back.
# Installation
Use `http-server` (https://www.npmjs.com/package/http-server) to start local server inside the app folder
Use `ngrok` (https://dashboard.ngrok.com/get-started/setup) to start a tunneled connection. Make sure that the local server and Ngrok are using the same port.
Inside app.js provide your `Webflow Token ID`, your `Webflow Collection ID`, and `Ngrok URL` to your local server.
You can change resize settings by reading `sharp` documentation (https://sharp.pixelplumbing.com/)
Install required packages by running `npm install`
Run the script by running `node app.js`
# Issues
When updating a Webflow item remember to update also the required fields (even if you're not changing them)
Webflow API has a call rate limit
Weblfow API has a download limit to 100 items per collection.