this looks great, a superb idea!
Two things to mention:
You forgot a download link in your post here.
And I suggest a small change in code for making it faster:
I would use the $totalTiles already in the MySql select (LIMIT 0,$totalTiles)
Otherwise the array becomes much bigger than necessary. So you can work through the array with
Code:
foreach ($photomosaic as $thumb) {
explode($pieces = explode("|", $thumb);
...
}
And another idea for enhancing:
You could ask for $_GET['cagegory'] and $_GET['tag'] and display a mosaic for the selected category and/or tag as well
(<MOSAIC_TAG> and <MOSAIC_CAT> for example)
KArin