RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 07-01-2007, 03:47 PM
Registered User
 
Join Date: Jul 2007
Posts: 2
Default How to deactivate attachment preview?

Konqueror has some problems with the attachment preview. The size of an image is about a quarter of the page and can't be enhanced. A simple direct link to a picture or pdf file will solve the issue as Konqueror has a good inbuild image handler, so how do I deactivate RoundCube's attachment preview?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-01-2007, 09:25 PM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 985
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: How to deactivate attachment preview?

To deactivate RoundCube's attachment preview, go to
Code:
skins/default/templates/
Open
Code:
message.html
find the line that says
Code:
<roundcube:object name="messageBody" id="messagebody" showImages="true" />
change true to false then upload. That will deactivate them.
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-02-2007, 01:56 PM
Registered User
 
Join Date: Jul 2007
Posts: 2
Default Re: How to deactivate attachment preview?

Oh, thanks this hint is useful, but I meant another attachment preview. If you click the staple, the image or pdf gets embedded in a RoundCube image preview box which troubles Konqueror Browser. How can you change this to a direct link to the attachment?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 08-16-2007, 09:44 AM
Registered User
 
Join Date: Aug 2007
Posts: 1
Default Re: How to deactivate attachment preview?

Quote:
Originally Posted by Matthias
Oh, thanks this hint is useful, but I meant another attachment preview. If you click the staple, the image or pdf gets embedded in a RoundCube image preview box which troubles Konqueror Browser. How can you change this to a direct link to the attachment?
Hi everybody,
I am using Roundcube 0.1-RC1 and if have the same problem. When I click a attached PDF-File it's displayed in a new window.
There the PDF looks like if I open it in a text-editor.
Not only with Konqueror, but with Firefox 2.0.0.6 and IE 6 (not tested with other browsers).

Is there a workaround to use the functions of the browser to display the PDF-file (or any other file-type)?

Thanks for help!

greetz, tjiel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 11-05-2007, 10:41 AM
Registered User
 
Join Date: Nov 2007
Posts: 2
Default Re: How to deactivate attachment preview?

Open program/js/app.js

Find the Line

Code:
 this.mimetypes = new Array('text/plain', 'text/html', 'text/xml',
               'image/jpeg', 'image/gif', 'image/png',
               'application/x-javascript', 'application/pdf',
               'application/x-shockwave-flash');
Delete:
Code:
'application/pdf',
Well opens with a download PDF's window

Bye Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 11-10-2007, 10:42 AM
Registered User
 
Join Date: Oct 2007
Posts: 9
Default Re: How to deactivate attachment preview?

I've been searching for this too thanks for the hint.
Now I am wondering if it would not be nice to have the mime-types set in the config file. and later they could also be connected to icons, to find here e.g. http://www.splitbrain.org/projects/file_icons

regards
Thomas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 12-11-2007, 10:59 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
Default Re: How to deactivate attachment preview?

Hi,

Quote:
Originally Posted by Mischungsmicha
Open program/js/app.js

Find the Line

Code:
 this.mimetypes = new Array('text/plain', 'text/html', 'text/xml',
              'image/jpeg', 'image/gif', 'image/png',
              'application/x-javascript', 'application/pdf',
              'application/x-shockwave-flash');
Delete:
Code:
'application/pdf',
Well opens with a download PDF's window

Bye Michael
I have problems with PDF attachments. Tested this "solution" and not work, when I click in PDF attach, is show a bunch of caracters
I change to deactivate RoundCube's attachment preview, but have same problem, is showing the caracters of PDF file. This is a example:
Code:
%PDF-1.4 %âãÏÓ 1 0 obj << /Type/Catalog/Pages 2 0 R/PageMode/UseNone/PageLayout/SinglePage/ViewerPreferences << >> >> endobj 6 0 obj << /Type/Page/Parent 2 0 R/MediaBox [0 0 595.5000 842.2500]/Resources 5 0 R/Contents 7 0 R/Dur 1/Trans <> >> endobj 7 0 obj << /Length 8 0 R/Filter /FlateDecode >> stream xœµMs·–†÷®òÀ2YØiôwg“ògÆ)ûV®¥Êf2‹ŽÔWÃ)Šm“’ï*ùiù5“Ê"•ÙÏ~š"€F‹Ìá9À‹¸*RIÔÃÓø8èџ•~žMÿ©ý?ïÛ«Û§Ož>ùüô‰ùÙòËöFmTf^}øRuÕójÿM[æÏójÿ¢AýC*)'Ay{ø»F@U4ϛ= k=пÿG¦®§7{øÍ?ÕIÚÇïy´Ý¹˜Ê¢¶˜æðâ8PòòðõTLËÉ\L,Ú٘ŠÒ@JÑYuø¦Îä1±hgcÒE÷Sä:<(îlTuqø¶éòÃUÙ¡êuþ×1ýUƒâÀ*ÿ©ÏêååÓ'™ºÜNÿ?u™Û›§O¾y»/ouùéžeÏu«[uy5õºË>}2¿¡i5—×OŸ|õb3ª÷ÃÕÝêËøµºü¯§OÞ\ª¿«3}ÔU²mweފ9°³UÓõó!q`ç›pö˜’gexL<Üù”J^¸KkB›0҄«C žúC›UsžÞ®°ª)ôÿЀÿö«úq;^ » 7Ý£Èm†W eÛÌÅÐfÏëüT1\Þoo{~èìqÜzÊß”™Ñòn½¶$ôtkðnòÚ/Šñvä2=î*ux7eÑ" ¡¨J¯ ]›n‘7^^wÝ_ J¡¬³G#dkâ oY4ƍɉ<1Ì0h±nU^ÍTúyq¨¿y¾ùðQÐ:OEáeÀ¡ÅvQÝx9»hóç:?*ƒÃ§ç‚Æy4öÅ‹SSä~š*+#.Ë2P’ÞÙooX´ów]a(Ó ì¢ƒn%8´JimdUî×Éü~W'• N:[Š!”yøèÉ¢E\ÿÔ1³¶^€}Ã¶ð†—!Ò–¥6?ÐZî×,ZTе?lzïç7€½}RÓM*C”¹ÕÞ¨2 h‘`j_§ aÑn$Š!xDÈÚE6ÔÞ¨˜¹÷TïßhÈeßÖzïòýŽ+9¯ÊC)?LYÙÖט»ì¦5É{?ƒõͻۛéÛ×£¸2´ªç۝y· yÙ̵?WÆëÕv¸úã÷Q}nVã¦_«ëA½¹¾¿ê÷?|5lÅGë yU{áè¶5ž1•ÀŽ®§›œZ=S/n¶÷ŸúÛéýLJˆvWãºß©ë^] Ÿï‡Õ¶Ÿ^ôý}¿½~ì$²ð—ÀË:÷JK›©®¦ö›ît—·ÿá3zùÛnuÕ«ëq§ò_Õ Š_Õ«ÕÕz|Ös3Ïêڋ¯²·åe·¸ñY?ÔÛTb/Ö÷›qÇÏ5nþƎ•}IÌ싽®«êÄìSë·¦©§6ê5}i%I׎ݥ™”mÍ/*$*,é2hqwmYŸÊ¹Mæå£7›Ýj{Úë8µß©µF¥Ã9åëéÎÇ÷+“~+?ËöŸï‡µºèÙOp¿7»áJ°MmV9¯ïРć&CDL,š@ "†M †ˆlâ%Ãeº CÄÈÌ¢¥Ãe „‰!¤ ph1´Œ´$b¸¬• 1t!CĐ %ú3QDŠáQÅE‰!Aˆ¡ˆ4ÚއC‚ÆÃÚÜbĐ¢ñÅÐnÀ€ˆ!ã‹a=j$¸1q`1´R8ºkƒˆ!AK"†öæÉ&1,İ6 "†,ÖþL¡*òg±r!cĐÂE‰aÖ¶Õ)1¬;¯^nï'ü°º9háænÜ©·Ãv{zÃÇy/¬ú,Ê šÀ !1qh/DÄÄ¢ ¼ÐQ ^HÐ^ˆH6,Z/\d› /D Ì,Z"/\”@˜Bڇ&ðBKÁx!AKㅋZ òB2Ä Z/lü3á^xTqQ^HÐ^è|â…M*…uåÎS° üð¢ /$h|/´7/¤h|/,Í^>ˆ0¾ZÄ ˜À -ä…N*…îÚ ^HВxae®Ýza*…¥‰â…,ÚÏÜ<”€*òg¯r!c¼ÂÅ-N#*)/¬r¯^õÛý³^÷_V×êýx¿6ŒêýJr¨Åìq^ÇX!AX!$&M`…ˆ˜X4: Ä šÀ ©†EKc…‹\d…ˆa™EKd…‹³BH*ÐVh)+$hi¬pQ+AVèB†X!AKc…•¿g&Ü *.Ê šÀ  @¬ ¬°œïl_ì ñ*07“ã+¤h|+´8ˆ0¾ZÄ ˜À -d…N`…îÚ VHВXaᑤó¦°BW«+$`i¬°ð§ ÍVåBÆX!…‹[-ìt~Ê ‹Ò+W¿Ý*zõvµ^}êՋÍÝýfØ©w›ß®V¢KOô|€4BbâÐZˆˆ‰Eh¡£@´ ´‘kX4ä*waa\&›é ã2‹–H %¦…6À¡ ´Ð;Òïðš(-$hi´0¸]:‘s!C´ ¥ÑÂÂß1®…G¥…M …N
If anyone have a solution, please help!

Regards,
LuBoc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-02-2008, 05:16 PM
Registered User
 
Join Date: Jan 2008
Posts: 3
Default Re: How to deactivate attachment preview?

Quote:
Originally Posted by LuBoc
Hi,

Quote:
Originally Posted by Mischungsmicha
Open program/js/app.js

Find the Line

Code:
 this.mimetypes = new Array('text/plain', 'text/html', 'text/xml',
               'image/jpeg', 'image/gif', 'image/png',
               'application/x-javascript', 'application/pdf',
               'application/x-shockwave-flash');
Delete:
Code:
'application/pdf',
Well opens with a download PDF's window

Bye Michael
I have problems with PDF attachments. Tested this "solution" and not work, when I click in PDF attach, is show a bunch of caracters
I change to deactivate RoundCube's attachment preview, but have same problem, is showing the caracters of PDF file. This is a example:
Code:
%PDF-1.4 %âãÏÓ 1 0 obj << /Type/Catalog/Pages 2 0 R/PageMode/UseNone/PageLayout/SinglePage/ViewerPreferences << >> >> endobj 6 0 obj << /Type/Page/Parent 2 0 R/MediaBox [0 0 595.5000 842.2500]/Resources 5 0 R/Contents 7 0 R/Dur 1/Trans <> >> endobj 7 0 obj << /Length 8 0 R/Filter /FlateDecode >> stream xœµMs·–†÷®òÀ2YØiôwg“ògÆ)ûV®¥Êf2‹ŽÔWÃ)Šm“’ï*ùiù5“Ê"•ÙÏ~š"€F‹Ìá9À‹¸*RIÔÃÓø8èџ•~žMÿ©ý?ïÛ«Û§Ož>ùüô‰ùÙòËöFmTf^}øRuÕójÿM[æÏójÿ¢AýC*)'Ay{ø»F@U4ϛ= k=пÿG¦®§7{øÍ?ÕIÚÇïy´Ý¹˜Ê¢¶˜æðâ8PòòðõTLËÉ\L,Ú٘ŠÒ@JÑYuø¦Îä1±hgcÒE÷Sä:<(îlTuqø¶éòÃUÙ¡êuþ×1ýUƒâÀ*ÿ©ÏêååÓ'™ºÜNÿ?u™Û›§O¾y»/ouùéžeÏu«[uy5õºË>}2¿¡i5—×OŸ|õb3ª÷ÃÕÝêËøµºü¯§OÞ\ª¿«3}ÔU²mweފ9°³UÓõó!q`ç›pö˜’gexL<Üù”J^¸KkB›0҄«C žúC›UsžÞ®°ª)ôÿЀÿö«úq;^ » 7Ý£Èm†W eÛÌÅÐfÏëüT1\Þoo{~èìqÜzÊß”™Ñòn½¶$ôtkðnòÚ/Šñvä2=î*ux7eÑ" ¡¨J¯ ]›n‘7^^wÝ_ J¡¬³G#dkâ oY4ƍɉ<1Ì0h±nU^ÍTúyq¨¿y¾ùðQÐ:OEáeÀ¡ÅvQÝx9»hóç:?*ƒÃ§ç‚Æy4öÅ‹SSä~š*+#.Ë2P’ÞÙooX´ów]a(Ó ì¢ƒn%8´JimdUî×Éü~W'• N:[Š!”yøèÉ¢E\ÿÔ1³¶^€}Ã¶ð†—!Ò–¥6?ÐZî×,ZTе?lzïç7€½}RÓM*C”¹ÕÞ¨2 h‘`j_§ aÑn$Š!xDÈÚE6ÔÞ¨˜¹÷TïßhÈeßÖzïòýŽ+9¯ÊC)?LYÙÖט»ì¦5É{?ƒõͻۛéÛ×£¸2´ªç۝y· yÙ̵?WÆëÕv¸úã÷Q}nVã¦_«ëA½¹¾¿ê÷?|5lÅGë yU{áè¶5ž1•ÀŽ®§›œZ=S/n¶÷ŸúÛéýLJˆvWãºß©ë^] Ÿï‡Õ¶Ÿ^ôý}¿½~ì$²ð—ÀË:÷JK›©®¦ö›ît—·ÿá3zùÛnuÕ«ëq§ò_Õ Š_Õ«ÕÕz|Ös3Ïêڋ¯²·åe·¸ñY?ÔÛTb/Ö÷›qÇÏ5nþƎ•}IÌ싽®«êÄìSë·¦©§6ê5}i%I׎ݥ™”mÍ/*$*,é2hqwmYŸÊ¹Mæå£7›Ýj{Úë8µß©µF¥Ã9åëéÎÇ÷+“~+?ËöŸï‡µºèÙOp¿7»áJ°MmV9¯ïРć&CDL,š@ "†M †ˆlâ%Ãeº CÄÈÌ¢¥Ãe „‰!¤ ph1´Œ´$b¸¬• 1t!CĐ %ú3QDŠáQÅE‰!Aˆ¡ˆ4ÚއC‚ÆÃÚÜbĐ¢ñÅÐnÀ€ˆ!ã‹a=j$¸1q`1´R8ºkƒˆ!AK"†öæÉ&1,İ6 "†,ÖþL¡*òg±r!cĐÂE‰aÖ¶Õ)1¬;¯^nï'ü°º9háænÜ©·Ãv{zÃÇy/¬ú,Ê šÀ !1qh/DÄÄ¢ ¼ÐQ ^HÐ^ˆH6,Z/\d› /D Ì,Z"/\”@˜Bڇ&ðBKÁx!AKㅋZ òB2Ä Z/lü3á^xTqQ^HÐ^è|â…M*…uåÎS° üð¢ /$h|/´7/¤h|/,Í^>ˆ0¾ZÄ ˜À -ä…N*…îÚ ^HВxae®Ýza*…¥‰â…,ÚÏÜ<”€*òg¯r!c¼ÂÅ-N#*)/¬r¯^õÛý³^÷_V×êýx¿6ŒêýJr¨Åìq^ÇX!AX!$&M`…ˆ˜X4: Ä šÀ ©†EKc…‹\d…ˆa™EKd…‹³BH*ÐVh)+$hi¬pQ+AVèB†X!AKc…•¿g&Ü *.Ê šÀ  @¬ ¬°œïl_ì ñ*07“ã+¤h|+´8ˆ0¾ZÄ ˜À -d…N`…îÚ VHВXaᑤó¦°BW«+$`i¬°ð§ ÍVåBÆX!…‹[-ìt~Ê ‹Ò+W¿Ý*zõvµ^}êՋÍÝýfØ©w›ß®V¢KOô|€4BbâÐZˆˆ‰Eh¡£@´ ´‘kX4ä*waa\&›é ã2‹–H %¦…6À¡ ´Ð;Òïðš(-$hi´0¸]:‘s!C´ ¥ÑÂÂß1®…G¥…M …N
If anyone have a solution, please help!

Regards,
LuBoc
it sounds like the mime setting on your apache isn't being correctly set
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 02-14-2008, 07:34 AM
Registered User
 
Join Date: Feb 2008
Posts: 4
Default Re: How to deactivate attachment preview?

I have tried both of the fixes above - Users are still unable to open PDF attachments - The attachment tries to open in a new window and says "loading data" and then just reopens the Inbox

PHP PHP Version: 4.4.7
DataBase MYSQL Version: 4.1.22-standard
Firefox and IE7 same problem

Please advise
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 02-14-2008, 07:37 AM
Registered User
 
Join Date: Feb 2008
Posts: 4
Default Re: How to deactivate attachment preview?

Looks like this is a bug fix for this issue: http://trac.roundcube.net/ticket/1484198

I have tried patching but this is the output:

patch: **** Only garbage was found in the patch input.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community