A thumbnail working generator example. Practical use of PHP Design patterns.