I don't know if you'll find a purely PHP solution. My guess is you'll need to locate some third-party application that renders HTML into an image, which you could then manipulate via PHP's image functions to create thumbnails.
If your mock-ups are, in fact, already image files, then creating thumbnails is pretty easy. A search on "PHP thumbnails" here and on the web should reveal many options.