We wanted to get a little creative with our campaign this go-round. Something more of a stretch: an alternative to the typical fare of flyers and button deals and witty Facebook posts. And with budget limitations, a concept with viral potential was essential.
Step 1: Selection
Once authenticated, users are provided the option of using any of their 10 latest profile pictures or cover photos.
Step 2: Generation
phpmosaic forms the essential foundation for the script, analyzing the images for that dominant color value and then storing that value, along with the image itself, for later use when everything falls together.
However, this makes for a lousy rendition if you don't have a thousand images to sample from. A quick run through Imagemagick blends the overlay and the original image together before it crops over branding—a bar for tall images and a corner notice for square or wide ones.
Step 3: Presentation
At the last page, both the original and the mosaic can be compared side-by-side. There's also the easy button to set the rendered mosaic as the user's newest prof or cover.

Hovering over the mosaic turns the original into a zoomed frame for easy inspection of the images that form the composite