website logo
HomeBlogPricingDemoAnalyse WebsiteOpen ConsoleSign Up for FREE
API Documentation
Navigate through spaces
⌘K
🏡Home
Welcome to Front.Space 👋
About Us 🫶
🚀Getting Started
Step 1: Creating an Account
Step 2: Configuring Origins
Step 3: Select the Pricing Plan
🪴Introduction
Transformation Basics
Credits
🔗API Reference
URL Transformation API
🖼️Image
Overview
Image Format Support
Resizing and Cropping
Image Effects
Watermarking and Overlays
Background Removal
🎬Video
Overview
Video Format Support
Resizing and Cropping
Trimming
👥Team & Project Management
User Roles & Invite Members
Create or Rename Projects
Docs powered by
Archbee
Getting Started

Step 2: Configuring Origins

18min

This document is here to help you out with setting the origin point for media in your project. It's super important to pick the right source website or cloud storage and select the media you want. Let's get started!

What is an Origin?

An origin is the location where content is stored, and from which your CDN gets content to serve to viewers.

The origin point can be changed to easily refer to the selected media. It is also to be noted that using multiple origins is possible with Front.Space

How to set Origins?

To set the origin point in your project, you need to first select the source website or cloud storage where your media is located. Once you have identified your source, simply select the media you want to set as the origin point.

This will change the origin point of your selected media, making it easy for you to refer to it as you work on your project.

⚠️ Caution: Remember to Save your progress after adding the origin URL and have fun optimising!

👉 On the navigation menu, click Origins

Front Space Menu
Front Space Menu




👉 Click on Add your first Origin

Front Space - Origins Page
Front Space - Origins Page


👉 Enter the folder prefix that you want and the Origin (source) URL for these images and click Save

Front Space - Sample Origins
Front Space - Sample Origins


✅ Success! You have successfully added your first origin. You can add more origins as per the quotas of your plan



It's highly likely that your current setup involves using multiple origins for serving images. For instance, you might be using an NGINX server for delivering product images and an S3 bucket for your marketing images.

Front.Space allows you to add and manage multiple origins from a common account.

Now you may serve all your multimedia through modified origins as shared in the image above.



As per the above example, now you can replace all the URL Prefix:

https://example.com/images/uploads/

to

https://cdn.front.space/project-Aditya-BRYIIO/w_400,f_auto/website-images/

The modified URL will have the following syntax for future usage:

https://cdn.front.space/<project_name>/<transformations>/<origin-name>/<origin-path>

The above prefix has to be accompanied by your image URL all across your back-end code.

Please note: All the transformations in the preview link are editable/removable.

For example, if your storage has an image iron-man.jpg which was pointed out earlier as:

https://example.com/images/uploads/iron-man.jpg

Now, it will point to the following URL using Front.Space:

https://cdn.front.space/project-Aditya-BRYIIO/f_auto/website-images/iron-man.jpg


Please refer to Transformation Basics to understand the URL structures in detail and refer URL Transformation API to apply various transformations using the latest origin by adding simple parameters in your URL.

Looking for a Custom Domain or CNAME Support? Upgrade to our Enterprise Plan here or get in touch with our team at support@front.space





How to Determine the Origin of My Images and Videos?

If you are not clear about the origin details of your Images and Videos, then one of the simplest ways to determine the same is by first going to your website.

👉 Step1: Right-click an image/video on your website and click on "Open Image in New Tab" in your browser:

Document image


👉 Step 2: Select the URL path till 1 or 2 main subfolders from the beginning:

Selecting the Origin URL till 1 sub-folder
Selecting the Origin URL till 1 sub-folder


👉 Step 3: Paste it in your Origins URL Section box to get the latest preview of your new Front.Space Origin:

Setting Origins for Bewakoof.com
Setting Origins for Bewakoof.com


As per the above example, now you can replace all the URL Prefix:

https://images.bewakoof.com/uploads/

to

https://cdn.front.space/project-pulkit-3qc4/w_400,f_auto/media-upload/

Hence, the modified Front.Space API enabled URL of the original image at:https://images.bewakoof.com/uploads/grid/app/newbanner-1x1-SweatsHoods-common-prrinted-1694426988.jpgwill be now as follows:

https://cdn.front.space/project-pulkit-3qc4/w_400,f_auto/media-upload/grid/app/newbanner-1x1-SweatsHoods-common-prrinted-1694426988.jpg

Queries Regarding Setting up and Using Front.Space?

We are always happy to assist you at support@front.space

💡 Please Note: We just wanted to give you a heads-up that it may take us up to 24 hours to get back to you with answers about your payment inquiries. But don't worry, our amazing team is working hard 24/7 to ensure that we make your life as easy as possible. Thanks in advance for reaching out and for your patience!



Updated 13 Sep 2023
Did this page help you?
PREVIOUS
Step 1: Creating an Account
NEXT
Step 3: Select the Pricing Plan
Docs powered by
Archbee
TABLE OF CONTENTS
What is an Origin?
How to set Origins?
How to Determine the Origin of My Images and Videos?
Queries Regarding Setting up and Using Front.Space?
Docs powered by
Archbee