allow users to upload images

How to Allow Users to Upload Images on WordPress Site

In this article, I Will teach you the 3 greatest methods to allow users to upload images in WordPress. If you wish to accept guest post submissions, product reviews, or run a photo contest, then you’ll need to allow users to upload images. Nevertheless, you may not want to give them access to your WordPress admin area.

Permission Users to Safely Upload Images in WordPress

You can run a multi-author blog, then the best method to allow users to upload images is by adding them as an author on your website. Nevertheless giving users access to the WordPress admin area isn’t ideal for one-time scenarios similar to guest post submission, product reviews, photo contests, and so on. Fortunately, there are a number of WordPress plugins that allow users to upload images, without compromising your website security or giving them access to the WordPress admin space.

Here are the best 3 methods to easily allow users to upload images in WordPress.

Method 1. Allow Users Upload Images Using a File Upload Form

You can do easily create a file upload form that collects the user’s name, email address, the photo and file itself, and any message they want to include.

Once, you’ll need to install and activate the WPForms plugin. WPForms is one of the best WordPress form builder plugin that’s used by over 4 million websites. It comes with a file upload field that we’ll be using in this tutorial. Upon activation, you must visit the WPForms » Settings page in your WordPress dashboard to enter your license key. You’ll find your license key in your account area on the WPForms site, below the ‘Downloads’ tab.

This is how it will look when you enter it on your website:

How to Allow Users to Upload Images on WordPress Site
3 Greatest Methods: How to allow users to upload images on WordPress

First, you go to WPForms » Add New to create your form. We’re going to make use of the ‘Easy Contact Form’ for this example. Click on it, and your new form will appear.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Next, drag and drop a ‘File Uploadfield onto your form. You can find this field under the ‘Fancy Fields’ section on the left.

Once you are added then click on the File Upload field on your form to edit it.

You can change the name of this field (its label) to “Your {Photograph}” and also specify which file extensions are allowed. The only need image files, so you can allow JPG/JPEG, GIF, and PNG files.

Note: By default, WordPress only allows sure file types to be uploaded. As an example, users won’t be able to upload .svg images, or .zip files unless you explicitly add them to the permit list. We’re going to clarify how to do that in a second.

For the time being, let’s continue tweaking our field settings. We suggest specifying the maximum file size of 5 MB and check the box next to ‘Required’, in order that the user can’t submit the form until they’ve uploaded an image.

Tip: The file size limit helps you save disk cost on your WordPress hosting account.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

You can also set additional options for this field by clicking the downward arrow next to ‘Advanced Options‘.

Right here, you can choose the style of your upload field. It defaults to a ‘Trendy’ drag and drops field. If you’d like, you can replace it with a ‘Classic’ field that appears like this instead.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

You can also choose to store the image in the WordPress Media Library by checking that box. This can be a good concept if you’re going to collate your submitted images for a blog post or related.

Once you’re satisfied with your form, it can save you and exit the form builder.

Adding Your Image Upload Form in WordPress

Next, you’d want to add your form to a WordPress post or page. WPForms makes it super simple to add your forms anyplace on your website.

Simply edit the post or page where you need to add the image upload form. In the WordPress content editor, you need to add the WPForms block to your content area.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Following next, you need to select the form you created earlier from the dropdown menu. WPForms will display a preview of your form inside the content area.

Now you can save your post or page and view it live to see your image upload form in action.

Allowing Further File Types to Be Uploaded

Occasionally, your customers may see this error when making an attempt to add a file, even if you’ve allowed that file kind in your add subject’s settings.

The problem is that WordPress only allows sure file types by default. The simplest method to allow more file types is to make use of a companion plugin.

We suggest the File Upload Types plugin from WPForms.

When you’ve installed the plugin in WordPress and activated it, go to Settings » File Upload Types.

You can then choose file types from the list that you simply want to allow, or you can add custom file types.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Note: that the list doesn’t include the types that WordPress already allows by default.

Method 2. Permit Users to Upload Images as Guest Authors

A key cause to let users upload images is when you’re collecting guest post submissions. You can additionally use a very comparable method for other user-generated content.

Firstly, you’ll need to install and activate the WPForms plugin. For more details, see our step by step guide on setting install a WordPress plugin.

Note: You’ll want the ‘Pro’ version (or greater) to be able to use the ‘Post Submissions’ addon.

After activating the plugin, you must visit the WPForms » Settings page in your WordPress dashboard to enter your license key. You’ll find your license key under the ‘Downloads’ tab of your account on the WPForms site. This is what you’ll see when you enter the license key on your site.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Subsequently, go to WPForms » Addons to install the Post Submission Addon. Click the ‘Install Addon’ button. It’ll automatically install and activate.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Now, you can start creating your guest post submission form.

Go to WPForms » Add New, then scroll down to search out the Blog Post Submissions Form.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Click on it, and your new form will be created for you. This can have default fields for the guest author’s details in addition to the post’s proposed title, content, featured image, post excerpt, and also category.

You can add more field sections to your form if you need them. For example, you might need to add a ‘Website / URL’ field to the place the author can enter their own blog’s URL.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

You can add more field sections to your form if you need them. For example, you might need to add a ‘Website / URL’ field to the place the author can enter their own blog’s URL.

To alter the label on a field or any text on the form, simply click on it.

For example, you can click on the ‘Featured Image’ box and alter the ‘Description’ to provide your most well-liked size for featured images.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Files uploaded via the preset ‘Featured Image’ field will probably be stored in your Media Library within WordPress.

You can also toggle this option on and off by clicking on the ‘Advanced Options’ dropdown for the field.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Hint: If you wish to create a form from scratch, note that the ‘File Upload’ field doesn’t store files in the Media Library by default. Be sure you switch this setting on if you wish to use it.

If you need, you can change the image types that the ‘File Upload’ field will accept. For example, you might want users to only upload PNG files.

You can also enter a maximum file size, in MB. If you need, you can allow users to upload 2 or extra files.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

The ‘Trendy’ upload field (the default) allows users to drag and drop files. When you desire, you can change it to a ‘Classic’ field under advanced options. Note that this only allows users to upload a single file.

When you’ve acquired all of the fields you need on your form, go to the ‘Settings’ tab. It’s possible you’ll need to change details under ‘Notifications’ here.

For example, in case your guest posts go to an editor, you’ll need their address in the ‘Send to Email Address’ box.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

You may additionally need to change the confirmation message {that a} user sees after submitting the form. You are able to do this under Settings » Confirmation.

When you’re completely satisfied with your form, click the ‘Save’ button at the top of the display screen.

Including the Guest Post Submission Form to Your Site

You can add your form to your site on any post or page. You might need to create a new page specifically for guest post submissions.

If you’re doing the Gutenberg (block) editor, simply click the (+) icon to create a new block. Then, select ‘WPForms’ from the ‘Widgets’ part.

allow users to upload images
3 Greatest Methods: How to allow users to upload images on WordPress

Subsequently, you’ll see a WPForms dropdown. Select your form from the list and it’ll be added to your post.

Note: If you’re nonetheless using the Classic editor, then you definitely see an ‘Add Formbutton next to ‘Add Media’ as a substitute. Click this to get a dropdown list of your forms. Select the one you want, then click ‘Add Form’ to put it into your publish.

You need to use the ‘File Upload’ field in any form you create, after all. That means you can use the above method for any type of user-generated content you’d like to gather.

Method 3. Allow Users to Upload Images for a Contest

Whereas a file upload form allows users to upload any type of file, it might not be the perfect solution if you’re working on a photo contest.

That’s because WPForms is a form builder, not a contest plugin. It doesn’t come with features like choosing winners, viral sharing, and so on.

That’s where RafflePress is available. It’s one of the best WordPress giveaway plugin that allows you to create viral contests to grow your traffic and social media followers.

You can use it to design a contest widget that lets users upload photos, but in addition, incentivize sharing and different engagement actions to grow your following. We’ve created in-depth information on creating a photo contest in WordPress with RafflePress that you can comply with more details.

Check more daily updates to get subscribe to our website and also you can get informational articles and much more etc.

About webs360

Webs360 is to provide the best content to our readers by covering useful Guides and informative topics on Tech, Blogging, Android, Games, WordPress, Mobile, Soft360, Learning Point...

Check Also

wordpress-popup-based-on-location

How to Create a WordPress Popup Based on Location

In this article, I will teach you. How to create a WordPress Popup based on …

Leave a Reply

Your email address will not be published. Required fields are marked *

0 Shares
Share via
Copy link
Powered by Social Snap