Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Dynamic bulma.io css tiles with django

So for this social network web app I am building, I want a image gallery for users. Since I am doing it all by myself I also need to do the front end by myself. For the the front end I am using bulma's css framework. They have grid tiles which can create a image gallery just like the one pinterest have. But I don't know how I can do this dynamically.

A normal 12 grid layout is not that hard because inside the for loop I basically can just I say I want each image take up 3 columns. But I can't seem to figure it out how I would make 3 column wide layout with bulma's tile element.

If someone could help me out on this one, it would be very much appreciated.

link to bulma: http://bulma.io/documentation/grid/tiles/