/plugin-wp-optimize-image

šŸ“¦ Images Optimize and Upload CF7 is an extension plugin for Contact Form 7 plugin.

Primary LanguagePHPMIT LicenseMIT

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 on uploading large images, this plugin is perfect solution.

banner

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
  • Browser compatability
  • Automatically removes all temp files from the server after sending the form
  • Supports Google Chrome, Mozilla Firefox, Microsoft Edge. Not tested with old versions of Microsoft Internet Explorer.

Limitations

  • Transparent background in PNG files will become solid black
  • Animated GIF files will only have 1st frame after compression

banner banner

How to custom install this plugin:

  • 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.
  • Activate the plugin through the ā€˜Pluginsā€™ screen in WordPress

Dependency

  • client-compress - A JavaScript client side image compression library. This library uses the Canvas API to compress the image, and thus will not work on the node.js server-side. This library is forked from compress.js. This version has been updated to use the latest packages, uses async/await, fixes bugs, offers more options and a cleaner API.

License

MIT License

Copyright (c) :suspect: @yesworld, @bruklig