CM Answers (CMA) - Extras - File Attachments (Formats, Images, Videos)
Extras - File Attachments
The Pro version of the CM Answers plugin allows file sharing through a WordPress forum by enabling users to attach files to Questions and Answers they post.
Enable and Customize File Sharing
To enable file sharing, first navigate to the Thread settings tab:
Scroll down to the Attachments section. The admin can opt to allow file attachment in questions and/or answers, while limiting the attachment file types that are allowed and their maximum size in bytes.
When enabled, users will be able to attach files to their questions and answers by browsing for files or by dragging and dropping the files in the question or answer form!
Embed Images and Videos
To allow users to embed images in their posts, first navigate to the Appearance tab under the plugin settings.
Under the Attachments section, you can choose whether or not to embed the images that users have attached. You can also limit the width or height of the image size in pixels. Alternatively, users can drag and drop images into the text editor to embed them automatically.
Attached vs Embedded Files
How a regular attachment looks like.
How an embedded image looks like
Embedding Videos Inside Question/Answer
To embed a video, enter the YouTube or Vimeo video URL in brackets. They must follow a strict format. Examples:
- Vimeo [https://vimeo.com/203769044]
- YouTube [https://www.youtube.com/watch?v=C9HuT_ORA7A] or [https://youtu.be/C9HuT_ORA7A]
Multiple File Uploads
Below is an example of the user experience for file sharing on your Q&A forum. Users can upload multiple files at one time by browsing and selecting files, or dragging and dropping them in the form.