An open API service indexing awesome lists of open source software.

https://github.com/philhawksworth/example-netlify-large-media-picture

An example site to demonstrate the use of Netlify Large Media and images transformations for srcset
https://github.com/philhawksworth/example-netlify-large-media-picture

11ty eleventy git-lfs javascript netlify

Last synced: 12 days ago
JSON representation

An example site to demonstrate the use of Netlify Large Media and images transformations for srcset

Awesome Lists containing this project

README

          

# Example: Netlify Large Media and picture

This is an example site to demonstrate the use of [Netlify Large Media](https://www.netlify.com/products/large-media/?utm_source=github&utm_medium=nlm-example-pnh&utm_campaign=devex) for managing source image assets and serving image transformations on-the-fly to populate different source images in picture elements.

## Local development

To build the site you need:

- [Node](https://nodejs.org) - to run the build
- [Yarn](https://yarnpkg.com) - to install and manage dependencies

### Getting started

```bash

# clone this repository
git clone git@github.com:philhawksworth/example-netlify-large-media-picture.git

# go to the working directory
cd example-netlify-large-media-srcset

# install dependencies
yarn

# start a local build server with hot reloading
yarn start
```

### Configuring your own Netlify Large Media workflow

After cloning this repo, you can set it up as a site of your own on Netlify, and configure the Netlify Large Media pipeline by following the [guidance in the docs](https://www.netlify.com/docs/large-media/?utm_source=github&utm_medium=nlm-example-pnh&utm_campaign=devex)