Movable Type: Full-sized Calendar with photoblog thumbnails
October 2002
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
1 |
2 |
3 |
4 |
5 |
| 6 |
7 |
8 |
9 |
10 |
11 |
12 |
| 13 |
14 |
15 |
16 |
17 |
18 |
19 |
| 20 |
21 |
22 |
23 |
24 |
25 |
26 |
| 27 |
28 |
29 |
30 |
31 |
|
|
The size of the calendar has been shrunk a bit for display purposes, but a full version is available to view here.
Modification on the default-templates
A user on the forums pointed to a similar idea on another site, and this method came about from the conversation on the boards. You are welcome to use it on your site (a linkback to blogstyles.com would be welcomed but not required).
Instructions and requirements for use:
- A photoblog using the Blogstyles Photoblog tutorial, with images either uploaded with MT or thumbnails named with a -thumb prefix and then uploaded separately. If you are using another method for your photoblog, adjustments will need to be made.
- Thumbnails must be roughly the same size. In the blogstyles tutorial, this is set to 100px by 66px.
By creating a new Date-based Archive Template containing the MT code below inside of whatever layout you have, this can be generated for every month of photos. To set up an unique Filename for the calendar months, go to the Weblog Config under Archiving and "Add New...". Select your new Date-based Archive Template and a Monthly Archive. Then use an archive filename something like this:
cal_<$MTArchiveDate format="%y_%m"$>.php
The code used to create this calendar is shown below (the links point to entries on my journal, Snap!. The CSS has comments for what the different classes do. You can view the source of this page to see how the calendar looks in its full format instead of just the MT tags.
If you have questions, you can post them on the MT forums. Good luck!