Skip to content

stefanbohacek/image-gallery-11ty

Repository files navigation

A gallery starter project with Glitch and 11ty

Make your own online gallery page in just 3 easy steps!

1. Remix this app

You don't need to sign up for an account to try things out! Just click the ⚡ Remix button on top of the page to get going.

2. Upload your artwork or favorite pictures

Click over to the 📦 Assets folder inside the sidebar on the left and upload up to 512MB of images.

3. Edit a few simple files, no coding!

\_data/images.json: Here you can list the images that you want to show in your gallery. Just add the names of the files, a short title, and a description for vision-impaired folks, or those with poor network connection.

[
  {
    "name": "la-lutte-continue.jpg",
    "title": "La lutte continue.",
    "description": "An illustration of a fist rising from a factory chimney."
  },
  {
    "name": "all-power-to-the-people.jpg",
    "title": "All power to the people.",
    "description": ""
  }
]

\_data/site.json: In here you can customize your page, add a title, some header text, links to your social media accounts, and more.

{
  "title": "Radical Poster Art",
  "show_site_title": false,
  "description": "Project description",
  "header_text": "Radical Poster Art",
  "intro_text": "<strong>Lorem ipsum dolor</strong> sit amet...",
  "social": {

Heads up! If you are a fediverse user, there's a few extra options for you.

  "social": {
    "fediverse": "",
    "fediverse_username": "@[email protected]",
    "mastodon": "https://stefanbohacek.online/@stefan",

If you want to use a Mastodon icon, fill out the "mastodon" link. Or you can go for a generic fediverse icon if you use a different platform, or if you prefer this. Additionally, if you add your fediverse_username and you are on Mastodon, with one extra step you can show an author badge whenever someone shares a link to your gallery.

And you can also add this page to your profile as a verified link! (Works for Mastodon, Friendica, and a few other platforms.)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published