My mosaic template

Shot on January 20, 2010 at 00:09 by | Add a Comment

I have since writing this post changed to a template which is not using the YAPB plugin – but thought I’d leave the mosaic template here nevertheless, in case someone wants a Mosaic for YAPB and Phoblogging.

A few people have asked me for my mosaic template.  I’ve made it based on a template the plugin author for YAPB has on his page, with some adaptations.

The recipe for my version, with square thumbnails:

  • Download the .txt file with the page template: My mosaic template.
  • Rename it to have the extension .php
  • Upload it to your wp-content/themes/phoblog/ folder
  • Write a page called Mosaic or whatever you like, and use the template for the page. You find it in the page template dropdown menu.
  • Publish

In addition I made some changes to the stylesheet, with a little help from my friends over at the Phoblog-thread and some trial and error to get the thumbnails into a square. Add the following to the bottom of your style.css file:

#mosaic li {
float: left;
list-style-type: none;
margin: 0px 0px 0px 0px;
padding: 5px;
height: 110px;
width: 110px;
overflow: hidden;
}

Tags: , , ,

Category: Sideposts

Leave a Reply