[Zope] display uploaded file

Andreas Jung lists at zopyx.com
Fri Jun 6 03:46:51 EDT 2008



--On 6. Juni 2008 08:22:57 +0100 sujitha mary <suji102000 at yahoo.co.in> 
wrote:

> hi all,
> I need to display the contents of an uploaded file when i click a
> link.

Unless the *file* is an image then there is nothing a browser can do.
Browsers can basically show only html and images and some other 
content-types using plugins...so the download link is the best a browser 
can do!

>But when i click the link instead of displaying the contents i'm
> getting a message to save this BIN file.wht changes should i make to
> display it in my plone interface?Plz help.

Plone has some add-ons for showing _previews_ of uploaded binary content 
for some mimetypes like pdf. Search on plone.org -> products for terms
like "attachment" or "preview".

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080606/2a7ae32d/attachment.bin


More information about the Zope mailing list