This is a plugin to organize your gallery. We believe that displaying gallery is theme concern. You can add a gallery set with some medias.
Features
- Build media gallery as you want
Future Features
- Custom media caption and description
Todos :
- Create tests
- Listen to media delete events (still can't find out how)
Briefs
- Install plugin
- Go to Gallery, create some gallery sets and add some medias
- Use gallery components, set gallery sets and paging
- Voila its done
Components
This plugin provide one component. You can show your gallery using this component. Below are component properties:
gallery
- Specify wich gallery to usepageNumber
- Specify page numberperPage
- Specify how many items per page (set to 0 to show all)
Show Gallery
Since we are not providing default view, you must build your own display .You can get medias of gallery by accessing public method from the object returned by the components called medias()
. It will return media object. Below are media public properties:
title
- Media titlemedia_url
- Media full urlpath
- Path to storage
You can use that property to build your custom display.
Pagination
Since components return an eloquent object, the pagination is the same as eloquent does.
p.s : We want to add custom title and description feature but we are confused about where to place it so it will can easily used. If you have any ideas don't hesitate to tell us via github issues.
-
Andrey Dymskiy
Found the plugin not useful on 26 Mar, 2017
Inserting photos one by one? Seriously!? And Title is required... no way..
-
Increative Labs author
Replied on 4 Mar, 2018
We are sorry for this inconvenience. Now you can use multiple images selection.
Thank you for your input.
-
2.0.3 |
Allow page queryparam to filter result Aug 29, 2018 |
---|---|
2.0.1 |
Added with child Feature Mar 04, 2018 |
2.0.0 |
Added parent child feature Mar 04, 2018 |
1.0.1 |
First version of Gallery Apr 13, 2016 |