15 Feb
2001
15 Feb
'01
4:33 p.m.
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Arno Gross
Is there a way to produce a thumbnail as a preview of a rendered DTML document?
On windows I have seen it done through COM and IE. Which makes thumbs. you know when you browse your Win machine that it can show previews of html pages. That mechanism can be used. It's probably not trivial though. My guess is that it will take about 10-20 lines of Python in an external python method: Getting an instance of IE through COM opening the right page through an URL getting the method that returns a a thumbnail image Converting it to gif saving the gif in Zope The problem is which 10-20 line it should be ;-) Regards Max M