We've decided to make less money: We've slashed our pricing for session replay. They're now more than 50% cheaper for most customers.

Uploading assets with Cloudinary

Last updated:

|Edit this page

We use Cloudinary for asset management (image and video uploads), mainly to reduce website build times (as each image hosted within the repo has to get processed on each build). Offloading assets to Cloudinary saves time and resources.

  1. Sign into your PostHog.com account (via Questions)

  2. Click the account menu, then choose 'Upload media'

  3. Select (or drag) media to upload

    This supports images, gifs, and videos - though you'll want to be sure videos are optimized before uploading

  4. Copy the file URL and insert wherever you need it

Uploading assets using the Cloudinary website

  1. Go to the Cloudinary dashboard and log in. (Find the login in 1Password.)

    Pro tip: Double-click a folder to drill in, despite the cursor pointer indicating it's a link you only need to click once.

  2. Click 'Upload' in the top right, then drag and drop. The upload button will not appear unless you follow the exact link above into the image folder.

  3. Add the filename (and any folders) to the base asset URL:

    https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/
  4. Use the full URL in your docs or handbook update

Questions?

Was this page useful?

Next article

Merch store development

You'll need to set environment variables to source products from Shopify and build the merch store . We don't include these by default as sourcing the products from Shopify takes an absurd amount of time. Ask the Website & Docs team if you need these values.

Read next article