New Model: Gallery
Again, Zaapt continues to grow and this time there is a new 'Gallery' content model.
The Gallery model is quite powerful already. Each gallery can have many pictures each of which can have stored with it lots of details about the photograph. Some of these are extracted automatically from the JPG, others, you can add in yourself.
You are also able to generate as many smaller sizes from each uploaded image as you like. That way, you can also automatically create the thumbnails of whatever size you require. I usually generate each of these sizes since then you have lots of flexibility:
- 100px - thumbnail
- 200px - small
- 400px - medium
- 800px - large
and of course, you get to keep the original too.
As I found with the 'Menu' content model, I think the 'Gallery' content model won't ever really use the default views out of the box, though they are really useful to see if you've set things up correctly. In most cases, the views will be overridden almost immediately and again, the actual controller code and the view code is separate to help ease this separation of concerns.
Soon, I shall be re-launching chilts.org and hopefully, you'll get to see what it's like.
Updated: 2007-08-19 15:55:51