Skip to content

Statics for media clients

You can package static files — e.g., JPG and EPS assets — for clients in the media-assets/ directory.

Assets must be structured using the same directory scheme as embeddable pages — a folder for a valid language code and another for a unique slug. The JPG and EPS filenames can be whatever you want them to be.

  • Directorymedia-assets
    • Directoryen Language code
      • Directorychart Slug
        • chart.eps
        • chart.jpg
      • Directorymap Slug
        • my-map.eps
        • map-preview.jpg

If you have an embeddable page using the same language code/slug scheme as a set of static assets …

  • Directorypages
    • Directoryembeds
      • Directoryen
        • Directorychart
          • +page.svelte
  • Directorymedia-assets
    • Directoryen
      • Directorychart
        • chart.eps
        • chart.jpg

… the publisher will upload the JPG and EPS file with the embeddable version of the same graphic in a single archive.

  • Directorymedia-en-chart.zip
    • interactive
    • media-interactive
    • EPS
    • JPG