Images Optimize and Upload CF7


Images Optimize and Upload CF7 is an extension plugin for Contact Form 7 plugin, that allows you to upload multiple images using drag-n-drop or simple “Browse” button, and compress them on the client’s side before sending it. If you want to save a user’s time and bandwidth on uploading large images, this plugin is perfect solution.


  • Quick compression on the client’s side
  • Save data by compressing it on the client’s side before sending to the server
  • Automatically resize images to max 1920px (width or height)
  • Maintains the aspect ratio of the images
  • Fix image rotation issue when uploading images from Android an iOS (uses EXIF data)
  • Highly customizable
  • File type validation
  • No limits on input file size
  • Ajax upload
  • Drag-n-drop or browse file
  • Attach compressed files to emails
  • Adapted to mobile design
  • Customize file upload thumbnails and drag and drop area layouts
  • Multiple shortcodes in one form
  • Identify files by adding ID to the shortcode. The ID value will be used as a prefix in the filename
  • Set the maximum uploaded files limit in global settings, or in the shortcode
  • Save or remove all temporary files from the server after sending the form. But if you want to keep the files on the server, please, install Contact Form 7 Database Addon – CFDB7 plugin to access the files
  • Supports Google Chrome, Mozilla Firefox, Microsoft Edge, Safari. Doesn’t support IE 11 and lower


  • Transparent background in PNG files will become solid black
  • Animated GIF files will only have 1st frame after compression
  • Doesn’t support IE


  • Generate Shortcode in Contact Form 7 Plugin - Back End
  • Plugin Settings - Back End
  • Drag-n-Drop Field and File Attachment - Front End


To install this plugin see below:

  1. Upload the plugin files to the /wp-content/plugins/images-optimize-and-upload-cf7/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress


How can I send feedback or get help with a bug?

For any bug reports go to Support page.
Or Github issue page.


May 24, 2022
It is impossible to require customers upload pictures. If I require an upload, the pictures won't send to my mail address. This is a long-known issue, but creator wont patch this problem.
May 13, 2022
Great plugin. I didn't need the compressing function but was more looking for multi-uploader that worked on mobile devices. After my Contact Form 7 form is submitted I have some code which puts the information into Woocommerce. All the other uploaders seem to have a problem if the images are created from a camera. This plugin doesn't and it works very well. Would be nice to have additional options for mobile cameras. Currently when I click browse files I have the option of using the camera or selecting existing images. A default options straight to camera would be great. Also the ability to take multiple photos without having to keep going back and clicking browse files would be even better. Similar to how ebay does it when adding a listing.
May 27, 2021
Excellent little plug-in, thank you! The only issue I had was that by making the uploading of a photo *required, it didn't work. By removing the *requirement, it works like a charm!! 5 stars from me 🙂
Read all 12 reviews

Contributors & Developers

“Images Optimize and Upload CF7” is open source software. The following people have contributed to this plugin.




Fixed the issue with the required field not sending the files.
Security improvements.
Little fixes.


Fix work with other upload plugins.


Added an option to remove or save temp files


Added an option AutoRotate
Upgraded the plugin


Fixed Contact Form CFDB7 integration
Fixed JS void error


Added an option to keep the files on the server, need to install Contact Form 7 Database Addon – CFDB7 plugin.
Added an option to set the maximum upload files limit in the shortcode.
Added the support of multiple shortcodes in one form.
Added an option to add a prefix to files from the ID value of the shortcode.


Added template for editing drag and drop area layout.


Fix file extension error, lower case and uppercase.
Added file limit settings.
Added template editor for file upload thumbnails.


Fix styles for mobile.


Microsoft Edge support.


Localization fixes.


Added new features and fixes.