Limit Image Upload Size

Get the knowledge your online business needs to succeed.


The Limit Image Upload Size code snippet helps preserve the performance and disk storage of a MyListing website.

If image governance is not performed, users can upload massive image sizes, so we recommend that you put this snippet in place before you launch your website.


Option 1 - Code Snippets Plugin (Recommended)

We recommend the Code Snippets plugin because it is the easiest and safest way to implement code snippets, with the added benefit of being able to export your snippets for use elsewhere.

  1. Download the code snippet.
  2. Import the code snippet using the Code Snippets plugin.
  3. Activate the code snippet.

Option 2 - By Hand

This is the route to go for those that like to really limit their plugin installs and are comfortable directly editing theme files.

  1. Grab the code snippet.
  2. Follow the provided instructions.
  3. Save your changes.

Find a bug or typo? Please let us know.