purplespider / silverstripe-file-listing

Basic Download Page functionality, based on an assets directory
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Adding a "Grid view" #11

Open mlewis-everley opened 6 years ago

mlewis-everley commented 6 years ago

Was just thinking, would this be of interest? It could be quite a nice way of building simple galleries and could even link to some form of lightbox/modal to display images.

You could possible also provide the facility to add a button for the user to switch view mode on the page as well.

I might be able to do some work on this if you think it is worth adding @purplespider ?

purplespider commented 6 years ago

Sounds a good idea!

I'm imagining a "default view" option for the page in the CMS. With the default for new pages a config option.

Would probably like to be able to hide any "user switch" via config too.