Images Optimize and Upload CF7

Plugin Banner

Images Optimize and Upload CF7

by Damir Akhmedshin

Download
Description

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.

Features

  • 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

Limitations

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

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
  1. Generate Shortcode in Contact Form 7 Plugin - Back End

    Generate Shortcode in Contact Form 7 Plugin - Back End

  2. Plugin Settings - Back End

    Plugin Settings - Back End

  3. Drag-n-Drop Field and File Attachment - Front End

    Drag-n-Drop Field and File Attachment - Front End

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

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

Does the job without fuss

By Tyler Tork (TylerTork) on September 19, 2025

This is invaluable when working with non tech-savvy users who don't know how to reduce the sizes of images before uploading, and a big convenience for other users. I could wish the instructions were a little clearer, and the default values for a lot of the settings results in a very poor-quality image, so I would've chosen different, less strict limits for file size and quality settings. It's also not being updated to reflect the fact that it works with recent WordPress versions -- but it does, so far.

So: not a perfect plugin, but the only one I can find that does exactly what I need for image uploading on CF7.

Works wel, required field has errors

By rambokilinc on 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.

Excellent works well on mobile devices

By w0rdpre5s on 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.

Really useful

By Suzy Collins on April 22, 2022

Excellent plugin, does exactly what I needed.

Great plugin!

By Mantr (mandotr) on April 2, 2022

Excellent and easy to use!

Really Helpful!

By mying on March 28, 2022

Excellent plug-in, thank you!

Well Done!

By jodirogers on 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 🙂

Perfect!!!!!!

By Paul (pgarmin) on January 25, 2021

Perfect plugin for the ever mysterious problems with CF7 file size....

Need higher than 5 stars

By Interpro on June 8, 2020

This is the simplest and nicest looking image shrink and upload plugin for CF7. It simply works! Thank you so much

Awesome plugin!

By adriangb on April 1, 2020

I've uploaded several images and reduces its size 90% on client side, even more, in some cases. I love it!

2.2.1

Fixed file deletion vulnerability
Cleanup unused temp files after submission
Added compatibility with other file upload plugins

2.1.4

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

2.1.3

Fix work with other upload plugins.

2.1.2

Added an option to remove or save temp files

2.1.1

Added an option AutoRotate
Upgraded the plugin https://github.com/davejm/client-compress

2.1.0

Fixed Contact Form CFDB7 integration
Fixed JS void error

2.0.2

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.

2.0.1

Added template for editing drag and drop area layout.

2.0.0

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

1.1.0

Fix styles for mobile.

1.0.9

Microsoft Edge support.

1.0.8

Localization fixes.

1.0.7

Added new features and fixes.

Back to top