For what it's worth, we (Egressive) have written a Drupal module which provides and serves up "webshots" - for examples of use (the module is still fairly alpha), see http://egressive.com/drupal_sites or http://travelbookmarking.com
When time allows, I'll be improving the code with the goal of getting a client-server pair of modules up onto Drupal.org for general use. Cheers, Dave Aaron Cooper wrote: > Howdy all, > > I really don't think this will be possible with PHP without some > server-side software additions but just checking to see if there are > other methods or if someone has done something similar. > > We have a email marketing system, where we load HTML email templates > into customer accounts. This HTML code is stored in the DB and loaded > into a WYSIWYG editor for each mail out. > > At the moment, we take screenshots of parsed output for this HTML, > resize in PS, and load into the system so that our users can see a > thumbnail snapshot of their HTML template when they are selecting which > template to use for a campaign. > > It's getting to the stage that we are adding a template a day and this > is becoming a bit tedious, and now have a need to automate the thumbnail > generation process if possible. > > The ideal situation is for us to: > 1. Click a button to generate thumbnail after loading the template HTML > 2. A script (or external service) is given the URL to the HTML output > page on the server, with the template ID. This will simply output and > render the HTML in the DB. > 3. Script takes snapshot of HTML > 4. Resize snapshot to suit interface (250x200) > 5. Saves thumbnail to a statically named directory, with a dynamically > named filename. > > I assume that this is going to require a browser on the server. We're > running on Debian here (shell only), and I'm no *Nix guru either. > > Thoughts? > > Aaron > > > -- Dave Lane = Egressive Ltd = [email protected] = m: +64 21 229 8147 p: +64 3 9633733 = Linux: it just tastes better = nosoftwarepatents http://egressive.com ==== we only use open standards: http://w3.org Effusion Group Founding Member =========== http://effusiongroup.com --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
