{"id":160050,"date":"2022-07-16T16:10:08","date_gmt":"2022-07-16T16:10:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/compress-then-upload\/"},"modified":"2025-08-15T01:21:45","modified_gmt":"2025-08-15T01:21:45","slug":"compress-then-upload","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/compress-then-upload\/","author":20193771,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.5","stable_tag":"1.0.5","tested":"6.7.5","requires":"4.9","requires_php":"7.4","requires_plugins":null,"header_name":"Compress & Upload","header_author":"Eli Hanna","header_description":"An image uploader that resizes and compresses images before getting uploaded.","assets_banners_color":"","last_updated":"2025-08-15 01:21:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/eliehanna0\/WP-Compress-Then-Upload","header_author_uri":"https:\/\/elihanna.dev\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2803,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0":{"tag":"1.0","author":"eliehanna","date":"2025-08-15 01:21:45"},"1.0.1":{"tag":"1.0.1","author":"eliehanna","date":"2025-08-15 01:21:45"},"1.0.2":{"tag":"1.0.2","author":"eliehanna","date":"2025-08-15 01:21:45"},"1.0.3":{"tag":"1.0.3","author":"eliehanna","date":"2025-08-15 01:21:45"},"1.0.5":{"tag":"1.0.5","author":"eliehanna","date":"2025-08-15 01:21:45"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2906372,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2906372,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2906372,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2906372,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2906372,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2906372,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"The Compress &amp; Upload main page","2":"Sample large images in size and dimensions","3":"Process of images being resized and then uploaded","4":"New optimized image size and dimensions saved in WP Media Library"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[29152,29161,84,217146],"plugin_category":[50],"plugin_contributors":[212138],"plugin_business_model":[],"class_list":["post-160050","plugin","type-plugin","status-publish","hentry","plugin_tags-image-compression","plugin_tags-image-optimization","plugin_tags-media","plugin_tags-upload-limits","plugin_category-media","plugin_contributors-eliehanna","plugin_committers-eliehanna"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/compress-then-upload\/assets\/icon-128x128.png?rev=2906372","icon_2x":"https:\/\/ps.w.org\/compress-then-upload\/assets\/icon-256x256.png?rev=2906372","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/compress-then-upload\/assets\/screenshot-1.png?rev=2906372","caption":"The Compress &amp; Upload main page"},{"src":"https:\/\/ps.w.org\/compress-then-upload\/assets\/screenshot-2.png?rev=2906372","caption":"Sample large images in size and dimensions"},{"src":"https:\/\/ps.w.org\/compress-then-upload\/assets\/screenshot-3.png?rev=2906372","caption":"Process of images being resized and then uploaded"},{"src":"https:\/\/ps.w.org\/compress-then-upload\/assets\/screenshot-4.png?rev=2906372","caption":"New optimized image size and dimensions saved in WP Media Library"}],"raw_content":"<!--section=description-->\n<p>Compress &amp; Upload lets you upload images to the WordPress media library but it first compresses and resizes them on your browser before uploading them.<\/p>\n\n<p>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.<\/p>\n\n<h4>How to upload images?<\/h4>\n\n<ul>\n<li>Install plugin<\/li>\n<li>Navigate to Media -&gt; Compress &amp; Upload<\/li>\n<li>Drag &amp; Drop images into the dropzone and watch them get uploaded<\/li>\n<li>Navigate to Media -&gt; Library to see your uploaded images<\/li>\n<\/ul>\n\n<h3>Contribution<\/h3>\n\n<p>Contributions are welcome, you may improve the plugin, solve issues or just browse the <a href=\"https:\/\/github.com\/eliehanna0\/WP-Compress-Then-Upload\">plugin repository here<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Security update: Fixed arbitrary file upload vulnerability<\/li>\n<li>Added comprehensive file type validation and security measures<\/li>\n<li>Enhanced file extension whitelist and MIME type verification<\/li>\n<li>Improved filename sanitization to prevent path traversal attacks<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Updated author name and URI<\/li>\n<li>Code formatting improvements and cleanup<\/li>\n<li>Enhanced code structure and readability<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Tested plugin on WordPress 6.7.1<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Tested plugin on WordPress 6.2<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tested plugin on WordPress 6.1<\/li>\n<li>Updated plugin description<\/li>\n<li>Added plugin images and logo<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Compress &amp; Upload images | Automatic Image Optimization","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/160050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=160050"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eliehanna"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=160050"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=160050"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=160050"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=160050"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=160050"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=160050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}