Title: Compress &amp; Upload
Author: Eli Hanna
Published: <strong>Jiyè 16, 2022</strong>
Last modified: Dawout 15, 2025

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/compress-then-upload/assets/icon-256x256.png?rev=2906372)

# Compress & Upload

 By [Eli Hanna](https://profiles.wordpress.org/eliehanna/)

[Download](https://downloads.wordpress.org/plugin/compress-then-upload.1.0.5.zip)

 * [Details](https://hat.wordpress.org/plugins/compress-then-upload/#description)
 * [Reviews](https://hat.wordpress.org/plugins/compress-then-upload/#reviews)
 * [Development](https://hat.wordpress.org/plugins/compress-then-upload/#developers)

 [Support](https://wordpress.org/support/plugin/compress-then-upload/)

## Description

Compress & Upload lets you upload images to the WordPress media library but it first
compresses and resizes them on your browser before uploading them.

This is particularly useful if you need to upload large sized images and you are
using a poor internet connection or if your current WordPress site has small upload
size limit.

#### How to upload images?

 * Install plugin
 * Navigate to Media -> Compress & Upload
 * Drag & Drop images into the dropzone and watch them get uploaded
 * Navigate to Media -> Library to see your uploaded images

### Contribution

Contributions are welcome, you may improve the plugin, solve issues or just browse
the [plugin repository here](https://github.com/eliehanna0/WP-Compress-Then-Upload).

## Screenshots

[⌊The Compress & Upload main page⌉⌊The Compress & Upload main page⌉[

The Compress & Upload main page

[⌊Sample large images in size and dimensions⌉⌊Sample large images in size and dimensions⌉[

Sample large images in size and dimensions

[⌊Process of images being resized and then uploaded⌉⌊Process of images being resized
and then uploaded⌉[

Process of images being resized and then uploaded

[⌊New optimized image size and dimensions saved in WP Media Library⌉⌊New optimized
image size and dimensions saved in WP Media Library⌉[

New optimized image size and dimensions saved in WP Media Library

## Reviews

![](https://secure.gravatar.com/avatar/2e5e9fba423e7fffa687ace7b354ed97c40aba3ebb2afbb7229255a5d7625ca9?
s=60&d=retro&r=g)

### 󠀁[Nicely work for large images.](https://wordpress.org/support/topic/nicely-work-for-large-images/)󠁿

 [Sajib Talukder](https://profiles.wordpress.org/stalukder03/) Dawout 1, 2022

Thanks for the awesome plugin. Now I can upload large images without any fear. Just
set the image size in the settings and it crops images automatically during upload.

 [ Read all 1 review ](https://wordpress.org/support/plugin/compress-then-upload/reviews/)

## Contributors & Developers

“Compress & Upload” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Eli Hanna ](https://profiles.wordpress.org/eliehanna/)

[Translate “Compress & Upload” into your language.](https://translate.wordpress.org/projects/wp-plugins/compress-then-upload)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/compress-then-upload/),
check out the [SVN repository](https://plugins.svn.wordpress.org/compress-then-upload/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/compress-then-upload/)
by [RSS](https://plugins.trac.wordpress.org/log/compress-then-upload/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.5

 * Security update: Fixed arbitrary file upload vulnerability
 * Added comprehensive file type validation and security measures
 * Enhanced file extension whitelist and MIME type verification
 * Improved filename sanitization to prevent path traversal attacks

#### 1.0.4

 * Updated author name and URI
 * Code formatting improvements and cleanup
 * Enhanced code structure and readability

#### 1.0.3

 * Tested plugin on WordPress 6.7.1

#### 1.0.2

 * Tested plugin on WordPress 6.2

#### 1.0.1

 * Tested plugin on WordPress 6.1
 * Updated plugin description
 * Added plugin images and logo

#### 1.0

Initial release.

## Meta

 *  Version **1.0.5**
 *  Last updated **10 months ago**
 *  Active installations **10+**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/compress-then-upload/)
 * Tags
 * [image compression](https://hat.wordpress.org/plugins/tags/image-compression/)
   [image optimization](https://hat.wordpress.org/plugins/tags/image-optimization/)
   [media](https://hat.wordpress.org/plugins/tags/media/)[upload limits](https://hat.wordpress.org/plugins/tags/upload-limits/)
 *  [Advanced View](https://hat.wordpress.org/plugins/compress-then-upload/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/compress-then-upload/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/compress-then-upload/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/compress-then-upload/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/compress-then-upload/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/compress-then-upload/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/compress-then-upload/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/compress-then-upload/reviews/)

## Contributors

 *   [ Eli Hanna ](https://profiles.wordpress.org/eliehanna/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/compress-then-upload/)