Skip to content

Add image to gallery

Jan Kasik edited this page Feb 28, 2017 · 5 revisions

All images are stored in assets/countryphotos/<ISO 3166-1 alpha-2 country code>/ folder.

  1. Add image in folder mentioned above and rename it to <highest_number + 1>.<image_extension>

  2. Create <highest_number + 1>.json file according to schema:

    {
      "description": {
        "en": "Wallenstein Palace, seat of the Senate",
        "cs": "Valdštejnský palác, sídlo senátu"
      },
      "original_file": "WallensteinPalacePrague.jpg",
      "author": "",
      "license": "CC PD",
      "source_url": "https://commons.wikimedia.org/wiki/File:WallensteinPalacePrague.jpg"
    }

    ALWAYS fill following tags:

    • author field except cases when image is in public domain and author is not known
    • description with en for english, optionally, you can add description in your language for your language with <ISO 639-1 language code> tag.
    • original_file with original name of image
    • license with license abbreviation, usually CC followed by something, see https://process.arts.ac.uk/content/creative-commons-license-abbreviation-keys and license version. ie: CC BY 3.0
    • source_url with url to source image
    • public_domain boolean determining whether image is available under CC0 license
Clone this wiki locally