I want to create a video gallery using Masonry on my website but I’m having difficulty.
I’m using Joomla as my CMS and already have a template im using from rocket themes but on one of my pages I want to have a list of videos (which I’ll update) for people to watch. I want to make it visually appealing and masonry caught my eye but I fail to understand how to get it up and running.
How does Jquery work with Joomla, if it does at all?
The masonry plugin let you define a grid with images inside a container. Then it uses a kd-tree algorithm to sort the images in the most efficient way. The algorithm is well know for example from graphical disk space usage where the biggest file gets the biggest rectangle on the screen. A kd-tree is also good to add some spatial information. Hence if you can include the masonry js library and dynamically pick a selection of your videos from the database and wrap it in a css layout into a joomla template I don’t see any problem.