Hi,
got a Problem with Image Preview in Roundcube. (Version 1.0.2 and now with upgraded Version 1.1.0 the same)
When I want to open an attached Image (JPG/GIF/...) it will only show a broken Image. (Download of Image is OK!)
See Screenshot:
(http://temp.in.futureweb.at/roundcube/image_error.jpg)
Any ideas? (No Errors within Roundcube Error Logs / Apache Error Logs)
Thank you
Andreas Schnederle-Wagner
Did a little testing ...
With this URL it's not working (invoked by Roundcube on opening the attachment img):
http://www.server.at/?_task=mail&_framed=1&_action=get&_mbox=INBOX&_uid=9247&_part=2&_frame=1&_extwin=1
With this modified URL it's working?!?! (Setting _frame=0)
http://www.server.at/?_task=mail&_framed=1&_action=get&_mbox=INBOX&_uid=9247&_part=2&_frame=0&_extwin=1
Same for the embedded Image ...
Not working (original Roundcube URL): http://www.server.at/?__task=mail&_action=get&_mbox=INBOX&_uid=9247&_part=2&_embed=1&_mimeclass=image&_thumb=1
modified - working: http://www.server.at/?__task=mail&_action=get&_mbox=INBOX&_uid=9247&_part=2&_embed=0&_mimeclass=image&_thumb=0
alright - I guess I found the problem ... was about mime ...
NOT WORKING: //$config['mime_magic'] = '/usr/share/magic';
WORKING: $config['mime_magic'] = null;
Andreas