donate-button
donate-button copied to clipboard
Proper cloudinary flags
The cover and logo do not use f_auto,q_auto like they should
See https://cloudinary.com/documentation/image_optimization
https://github.com/everydotorg/donate-button/blob/main/packages/donate-button-next/src/components/widget/api/get-nonprofit-info.ts#L8
Will take a look at this tomorrow.
Adding some details, while currently the getCloudinaryUrl will return a string like https://res.cloudinary.com/everydotorg/image/upload/profile_pics/ftwf0qtym2defaahzfrh (22 kb jpeg on my machine) we want it to return https://res.cloudinary.com/everydotorg/image/upload/f_auto,q_auto/profile_pics/ftwf0qtym2defaahzfrh (13 kb avif on my machine)