The Laurence Family Image Archive

Preserving our family’s history in photographs and images



How to Add a New Album to the Archive

To add a new album, you now simply need to edit the _data/images.json file:

  1. Prepare your image files:
    • Convert your images to .jpg, .jpeg, or .png format for best compatibility.
    • Place all the images for your album in the assets/img/ folder.
  2. Add an album entry to the JSON data:
    • Open the file _data/images.json in a text editor.
    • Add a new album object to the albums array:
      {
        "id": "your-album-id",
        "category": "family-events",
        "cover": "cover-image.jpg",
        "images": ["image1.jpg", "image2.jpg", "image3.jpg"],
        "en": {
          "title": "Your Album Title",
          "description": "Description of your album.",
          "tags": "tag1,tag2,tag3"
        },
        "ja": {
          "title": "アルバムのタイトル",
          "description": "アルバムの説明。",
          "tags": "タグ1,タグ2,タグ3"
        }
      }
      
  3. Test your addition locally and push your changes.

This change will automatically update both the English and Japanese versions of the image archive!


Every picture tells a story. Help us preserve the visual history of our family for generations to come.