[Zope] href on a local file

2001-01-11 Thread tilo . schwarz

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/.pgm"
IMG SRC="http://mymachine/images/thumbs/.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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] href on a local file

2001-01-11 Thread Dieter Maurer

[EMAIL PROTECTED] writes:
  
"LocalFS" is a very nice product.
I would go for it.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] href on a local file (you can serve files from local file system)

2001-01-11 Thread sathya rangaswamy

Hello tilo
There is a product that will allow you to serve files from the file system.
Look under external access in download area. With this you can serve your
local files without adding to zodb
sathya
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 11, 2001 4:18 AM
Subject: [Zope] href on a local file


 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/.pgm"
 IMG SRC="http://mymachine/images/thumbs/.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

 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )