Giter Club home page Giter Club logo

netlify-photo-gallery's Introduction

Netlify Photo Gallery

Netlify Status

This is a photo gallery demo project for Netlify Large Media made with the photos from Unsplash and built with Hugo.

This project has two branches:

  • master: A photo gallery that doesn't use Netlify Large Media feature. You can go to README to see how you can deploy this with your Netlify account and start using Large Media feature.

  • large-media-sample: A photo gallery that uses Netlify Large Media feature. You can go to a static/images folder to see how large media assets are managed with Git. This branch is deployed as https://netlify-photo-gallery.netlify.com/ demo page.

How to deploy your own photo gallery to play with it

  1. Deploy to Netlify with "Deploy to Netlify" button. This will create a new Netlify site and copy the repo to your GitHub account.

    Deploy to Netlify

  2. Clone a newly created repo to your local computer with git clone.

  3. Follow the step of Enabling Netlify Large Media to enable Large Media for the newly deployed site.

  4. Tweak the LFS settings with the git lfs commands. The following example tracks jpg and png files. Tracking them is required for this photo gallery, so you can start tracking them:

    • To track jpg files: git lfs track *.jpg.
    • To track png files: git lfs track *.png.
  5. Explore more for how to configure the tracking in the documentation.

  6. After making sure you git add changes, run git push origin master to push your changes to GitHub. It'll be automatically deployed to Netlify utlizing Large Media.

  7. Try transformations with image files. For example, you can tweak the layout file with layouts/photos_s/list.html.

netlify-photo-gallery's People

Contributors

keiko713 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.