Multiple Environments

Users on the Business tier or higher can create multiple workspaces, allowing to have multiple domains. This comes in handy when needing to switch between environments, say between your production and staging environment.

Here is an example of a configuration with two domains:

domainpathsource images folder
prod.twic.pics/https://www.my-company.com/assets/
/logohttps://media.my-company.com/images/logo/
/mediahttps://media.my-company.com/web/
staging.twic.pics/https://staging.my-company.com/assets/
/logohttps://media.my-company.com/images/logo/
/mediahttps://media.my-company.com/web/

All you have to do now is reference the domain corresponding to the environment you are currently in (prod.twic.pics or staging.twic.pics) throughout your code base, which is usually as simple as setting a single variable and using it wherever you reference your TwicPics domain.

responsive images

The All-In-One Toolbox For Your Medias

The simplest, most powerful way to tackle responsive images & videos