Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-casiraghi committed Mar 22, 2019
2 parents 148759e + a1372e9 commit 01f8132
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@



# Laravel Responsive Gallery
# Laravel Responsive Gallery 🏞
A PHP library to create responsive galleries that are organized into Pinterest like columns.
To generate the grid is used [Bricklayer.js](http://bricklayer.js.org/).
To open the image in a popup is used [Fancybox 3](https://fancyapps.com/fancybox/3/).


## The snippet

The library replace all the occurrences of this kind of snippet
```
{# gallery src=[holiday_images/london] column_width=[250] gutter=[20] #}
Expand All @@ -33,6 +36,17 @@ With the HTML code of a responsive gallery.
...
</div>
```
## The images data management interface (optional)

Trough this interface you can specify for each image:
- the **alt text**
- the **description** shown below the fancy box when the user click on the thumbnail
- a **youtube or vimeo link** (in this case a play icon will be show above the image and clicking on it will open a fancybox showing the related video)

Once you have published the views in your Laravel application, you can access to the images management interface at this address
www.yourwebsite.com/responsive-gallery/

The snippet works also without using the images data management interface.

## How to use it
[Read Tutorial and Documentation →](https://github.com/davide-casiraghi/laravel-responsive-gallery/wiki)
Expand Down

0 comments on commit 01f8132

Please sign in to comment.