Re: [Zope] display uploaded file
After changing the content type also it's still the same.Is there any other option,my file is a text file Peter Bengtsson [EMAIL PROTECTED] wrote: Change the uploaded file's content_type to text/plain and the browser will try to display it. This is something you can do to images too but you'll get a very looong page of junk. 2008/6/6 sujitha mary : hi all, I need to display the contents of an uploaded file when i click a link.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. Bollywood, fun, friendship, sports and more. You name it, we have it. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com - Meet people who discuss and share your passions. Join them now.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] display uploaded file
hi all, I need to display the contents of an uploaded file when i click a link.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. - Bollywood, fun, friendship, sports and more. You name it, we have it.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] display uploaded file
--On 6. Juni 2008 08:22:57 +0100 sujitha mary [EMAIL PROTECTED] 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 pgppV9eYvQz1i.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] display uploaded file
Change the uploaded file's content_type to text/plain and the browser will try to display it. This is something you can do to images too but you'll get a very looong page of junk. 2008/6/6 sujitha mary [EMAIL PROTECTED]: hi all, I need to display the contents of an uploaded file when i click a link.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. Bollywood, fun, friendship, sports and more. You name it, we have it. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )