[Zope] href on a local file
tilo.schwarz@daimlerchrysler.com
tilo.schwarz@daimlerchrysler.com
Thu, 11 Jan 2001 10:18:20 +0100
Hi everybody,
it's now my third day with Zope and I'm already pretty happy with it. Finally I
got external python methods running with passing parameters to them and getting
return values back. Although there is a lot of documentation, I couldn't find
any about the Zope internals. Does anybody know where to look for such
documentation?
Now my question concerns local files. We do image processing and have zillions
of images. I'd like to do some "have a page of thumbsnails and click on it to
see the full image" kind of web page. I saw the examle thumbnail code in
http://www.zope.org/Members/michel/ZB/ScriptingZope.html, but that code puts
the thumbnails into the Zope Database within the python script. I'd like to
avoid that, because with our zillion images this would bloat the database
pretty much.
If I got the docs right, it's normally not possible to publish a local file
with Zope, only objects in the database can be published (correct?). But I
would like to use a href like
<A HREF="http://mymachine/images/0000.pgm">
<IMG SRC="http://mymachine/images/thumbs/0000.pgm"></A>
in the dtml. If I understand it right, the product "Local File System" would be
a possibility to do that. Is it the right way to go, or does anybody have a
better / other solution?
Tanks for any help!
BTW: I read about dropping external python modules in some future version of
Zope. For us, the main point with Zope is, that you can build a web front end
for a bunch of python modules we have. Thus, from our point of view, the
dtml-binding possibility to python modules is essential.
Tilo