# Client side image resizing before upload? Alternative to using TinyPNG after upload

**URL:** <https://community.weweb.io/t/client-side-image-resizing-before-upload-alternative-to-using-tinypng-after-upload/7217>\
**Category:** How do I?\
**Tags:** file-upload\
**Created:** [February 23, 2024, 5:49pm UTC](https://community.weweb.io/t/client-side-image-resizing-before-upload-alternative-to-using-tinypng-after-upload/7217 "2024-02-23T17:49:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [February 24, 2024, 3:43pm UTC](https://community.weweb.io/t/client-side-image-resizing-before-upload-alternative-to-using-tinypng-after-upload/7217/2 "2024-02-24T15:43:46Z")

</div>

I would probably try importing [compressorjs CDN by jsDelivr - A CDN for npm and GitHub](https://www.jsdelivr.com/package/npm/compressorjs) and adding custom workflow with JavaScript to compress on the client side

If you have trouble trying this feel free to post here and I will go more in depth

---

_[View the full topic](https://community.weweb.io/t/client-side-image-resizing-before-upload-alternative-to-using-tinypng-after-upload/7217)._
