# Compressing images uploaded via camera/gallery before uploading to server

**URL:** <https://forum.ionicframework.com/t/compressing-images-uploaded-via-camera-gallery-before-uploading-to-server/41113>\
**Category:** ionic-v1\
**Created:** [January 12, 2016, 10:31pm UTC](https://forum.ionicframework.com/t/compressing-images-uploaded-via-camera-gallery-before-uploading-to-server/41113 "2016-01-12T22:31:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayushbathwal](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ayushbathwal](https://forum.ionicframework.com/u/ayushbathwal)\
**Post date:** [January 12, 2016, 10:31pm UTC](https://forum.ionicframework.com/t/compressing-images-uploaded-via-camera-gallery-before-uploading-to-server/41113/1 "2016-01-12T22:31:43Z")

</div>

Hi Everyone!

I am trying to look for a plugin or a way to compress images (from camera or gallery) like watsapp does before uploading it to our server because pictures from phones are usually 4-6 MB.
