{"id":15545,"date":"2026-04-09T14:43:56","date_gmt":"2026-04-09T14:43:56","guid":{"rendered":"https:\/\/manual.m-path.io\/?post_type=ht_kb&#038;p=15545"},"modified":"2026-04-16T09:22:53","modified_gmt":"2026-04-16T09:22:53","slug":"file-hosting","status":"publish","type":"ht_kb","link":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/knowledge-base\/file-hosting\/","title":{"rendered":"File hosting"},"content":{"rendered":"\n<p>When creating engaging questionnaires and interventions in m-Path, you may want to include rich media such as images, audio clips, or videos. Because m-Path itself is a tool for building and delivering questionnaires, it does not permanently store these heavy media files for you. Instead, you need to&nbsp;<strong>&#8220;self-host&#8221;<\/strong>&nbsp;them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"user-content-what-is-file-hosting\">What is File Hosting?<\/h3>\n\n\n\n<p>File hosting simply means uploading your media file (like a&nbsp;<code>.jpg<\/code>&nbsp;image or&nbsp;<code>.mp4<\/code>&nbsp;video) to a specialized online storage service. Once your file is uploaded, the hosting service provides you with a&nbsp;<strong>direct web link<\/strong>&nbsp;(URL).<\/p>\n\n\n\n<p>Instead of uploading the file directly into m-Path, you simply&nbsp;<strong>paste this link<\/strong>&nbsp;into the appropriate m-Path widget. When your participants take the questionnaire, the m-Path app will use that link to instantly fetch and display the media on their screen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Video hosting<\/h2>\n\n\n\n<p><a href=\"https:\/\/bunny.net\/\" data-type=\"link\" data-id=\"https:\/\/bunny.net\/\">Bunny.net<\/a> is a highly popular and affordable Content Delivery Network (CDN) and cloud storage provider. When you upload a video to a regular server, a user halfway across the world might experience buffering or slow load times. A CDN solves this by keeping cached copies of your video on servers all over the globe. When a participant opens your m-Path questionnaire, the video is delivered from the server physically closest to them, ensuring lightning-fast and smooth playback.<\/p>\n\n\n\n<p>For m-Path, this is an excellent tool to self-host heavier media files like&nbsp;<code>.mp4<\/code>&nbsp;videos safely while getting a direct, permanent link that won&#8217;t unexpectedly expire.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user-content-step-1-create-an-account\">Step 1: Create an Account<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<a href=\"https:\/\/bunny.net\/\">bunny.net<\/a>&nbsp;and sign up for an account.<\/li>\n\n\n\n<li>Add your billing details (bunny.net is a paid service, but it is pay-as-you-go and generally costs only pennies per month for small-scale questionnaire usage).<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user-content-step-2-create-a-storage-zone-where-your-files-live\">Step 2: Create a Video library<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the left-hand menu of your bunny.net dashboard, click on&nbsp;<strong>Stream<\/strong>.<\/li>\n\n\n\n<li>Click the&nbsp;<strong>+ Add Video<\/strong> <strong>Library<\/strong>&nbsp;button.<\/li>\n\n\n\n<li>Give your library a name (e.g.,&nbsp;<code>mpath-study-videos<\/code>).<\/li>\n\n\n\n<li>Select your&nbsp;<strong>Main Storage Region<\/strong>. Pick the region closest to where you or your participants are located.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Add Storage Zone<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user-content-step-4-upload-your-video\">Step 3: Upload your Video<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go back to&nbsp;<strong>Stream<\/strong>&nbsp;on the left menu and click on the video library you just created.<\/li>\n\n\n\n<li>You are now inside the&nbsp;<strong>File Manager<\/strong>.<\/li>\n\n\n\n<li>You can click&nbsp;<strong>Upload<\/strong>&nbsp;or simply drag and drop your&nbsp;<code>.mp4<\/code>&nbsp;video files directly into the browser to upload them.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user-content-step-5-get-your-direct-video-link\">Step 4: Open access to video<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To enable direct file access, go to the Security tab while on the Stream page<\/li>\n\n\n\n<li>Click on general, there there will be a toggle for &#8216;<strong>Block direct url file access&#8217;<\/strong><\/li>\n\n\n\n<li>Toggle this one off, this makes m-Path able to get the video to show during a questionnaire.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Copy the link to the file<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the manage library page, click on the uploaded video<\/li>\n\n\n\n<li>There you will see a section saying &#8216;Video and asset links&#8217; and &#8216;MP4&#8217;<\/li>\n\n\n\n<li>Here you can copy one of the links provided, and insert this link in the video question item in m-Path.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Other file types (e.g. CSV)<\/h2>\n\n\n\n<p>For file types other than video or images, such as\u00a0<code>.csv<\/code>\u00a0files used with the CSV question item, you can use\u00a0<strong>bunny.net&#8217;s Storage<\/strong>\u00a0feature instead of Stream.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Create a Storage Zone<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to\u00a0<a href=\"https:\/\/bunny.net\/\">bunny.net<\/a>\u00a0and log in.<\/li>\n\n\n\n<li>In the left-hand navigation menu, click on\u00a0<strong>Storage<\/strong>.<\/li>\n\n\n\n<li>Click\u00a0<strong>Create Storage Zone<\/strong>.<\/li>\n\n\n\n<li>Give your storage zone a unique name (e.g.,\u00a0<code>mpath-study-files<\/code>).<\/li>\n\n\n\n<li>Select your preferred replication regions.<\/li>\n\n\n\n<li>Click\u00a0<strong>Add Storage Zone<\/strong>\u00a0to save.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Connect a Pull Zone<\/h4>\n\n\n\n<p>A pull zone is required to generate a public URL that m-Path can access.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the storage zone you just created.<\/li>\n\n\n\n<li>Click\u00a0<strong>Connect Pull Zone<\/strong>.<\/li>\n\n\n\n<li>Give the pull zone a name.<\/li>\n\n\n\n<li>Select your preferred tier and region.<\/li>\n\n\n\n<li>Click\u00a0<strong>Add Pull Zone<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Upload your file and get the URL<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go back to your storage zone and upload your file (e.g., a\u00a0<code>.csv<\/code>).<\/li>\n\n\n\n<li>Hover over the uploaded file, three dots (<code>\u22ef<\/code>) will appear.<\/li>\n\n\n\n<li>Click on\u00a0<strong>Copy URL<\/strong>.<\/li>\n\n\n\n<li>Paste this URL into the appropriate m-Path question item (e.g., the CSV question).<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Image hosting<\/h2>\n\n\n\n<p>This section explains how to create questions with images. In order to use an image, the image address must first be retrieved. Image addresses must end with the extension of the image (like `.jpg`, `.png`, or `.svg`).<\/p>\n\n\n\n<p>Examples of web addresses are:<\/p>\n\n\n\n<p>&#8211; https:\/\/m-path.io\/mediafiles\/alps1.jpg<\/p>\n\n\n\n<p>&#8211; https:\/\/m-path.io\/mediafiles\/SVGCOACHILD\/0.svg<\/p>\n\n\n\n<p>&#8211; https:\/\/i.imgur.com\/jYM6fF9.jpg<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">Images can also be stored in bunny.net which is explained above this section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choose an Image Hosting Platform<\/h3>\n\n\n\n<p>In order to retrieve an image address or url, the image must be hosted on the internet. In this section, we will discuss a few image hosting platforms and explain how to retrieve the image URL.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Private Server<\/h4>\n\n\n\n<p>The best option is to upload the images on a private server (e.g., from a hospital or research department).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2. Imgur<\/h4>\n\n\n\n<p>Another option is to use Imgur. This is a free image hosting website. Compared to Google, there are more ads and it is not possible to create albums. However, uploading photos to Imgur is pretty straightforward and easy. You can create an account at <a href=\"https:\/\/imgur.com\">imgur.com<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Follow these steps to upload photos to Imgur:<\/h5>\n\n\n\n<p>1. Go to imgur.com in your web browser.<\/p>\n\n\n\n<p>2. Make sure you are logged in.<\/p>\n\n\n\n<p>3. Go to your user name and click on <strong>Images<\/strong> and then <strong>Add Images<\/strong>.<\/p>\n\n\n\n<p>4. Click on <strong>browse<\/strong> to upload images from your computer.<\/p>\n\n\n\n<p>5. Select your photos and click on <strong>open<\/strong>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Follow these steps to retrieve an image address from Imgur:<\/h5>\n\n\n\n<p>1. Click on the image of which you want to retrieve the image address.<\/p>\n\n\n\n<p>2. Right-click the image to open the context menu, and select <strong>&#8220;Copy image address&#8221;<\/strong> (or the equivalent option in your browser).<\/p>\n\n\n\n<p>3. Paste the image address into the question settings in your m-Path dashboard.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">3. Tested Imgur Alternatives<\/h5>\n\n\n\n<p>Some tested Imgur alternatives for uploading and sharing images are listed below. These platforms do not require a login, making them simple and quick to use for sharing visual material in your m-Path studies.<\/p>\n\n\n\n<p><strong>Postimages.org:<\/strong> Postimages is a free and user-friendly image hosting service. You can upload single images or batches, and it automatically generates direct links, forum codes, and thumbnails. You can choose how long the image stays online (from 1 day to permanent). After uploading, simply copy the provided direct link to share or embed your image wherever needed.<\/p>\n\n\n\n<p><strong>Litterbox (Catbox.moe):<\/strong> Litterbox is a temporary upload service from Catbox.moe. Files uploaded here are automatically deleted after a chosen time period (1 hour, 12 hours, 1 day, or 3 days). It\u2019s ideal for sharing temporary images or files you don\u2019t need to keep long-term. If you need a permanent link, you can instead use Catbox.moe directly.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating engaging questionnaires and interventions in m-Path, you may want to include rich media such as images, audio clips, or videos. Because m-Path itself is a tool for building and delivering questionnaires, it does not permanently store these heavy media files for you. Instead, you need to&nbsp;&#8220;self-host&#8221;&nbsp;them. What is&#8230;<\/p>\n","protected":false},"author":6,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[804],"ht-kb-tag":[],"class_list":["post-15545","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cool-stuff"],"_links":{"self":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=15545"}],"version-history":[{"count":7,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15545\/revisions"}],"predecessor-version":[{"id":15574,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb\/15545\/revisions\/15574"}],"wp:attachment":[{"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=15545"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-category?post=15545"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/app-manual-wp-001-atfsdabuggg7fzdq.germanywestcentral-01.azurewebsites.net\/wp-json\/wp\/v2\/ht-kb-tag?post=15545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}