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?
To deactivate RoundCube's attachment preview, go to skins/default/templates/
Open message.html
find the line that says
change true to false then upload. That will deactivate them.
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?
Quote from: 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
Open program/js/app.js
Find the Line
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:
'application/pdf',
Well opens with a download PDF's window
Bye Michael
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
Hi,
Quote from: Mischungsmicha Open program/js/app.js
Find the Line
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:
'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:
%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
Quote from: LuBoc Hi,
Quote from: Mischungsmicha Open program/js/app.js
Find the Line
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:
'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:
%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
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 :(
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. :(