This addon will make a random mosaic out of your available photos. You can control how many tiles are created and the width of the tiles. Image thumbnails are used for the tiles and are cropped by the size you specify.
How it works:
- Open mosaic.php in your favorite editor and change the totalTiles variable to the number of tiles you want to output.
- Put mosiac.php in your addons folder.
- Add <MOSAIC> to a template. I made a new template that only displays the mosaic.
- Add the following css style to your css file or template:
Change the width and height to your liking. You will need to do some calculations with the tile width and height, #mosaic width, and the tile count to get this to display properly. By default it makes a rectangle that is 720 by 480. For example, 720/40 = 18 columns * by 12 rows = 216 (the default tile count).
See it on my site at http://blog.kevincrafts.com/index.php?x=mosaic