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 --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
