Roundcube Community Forum

 

images pink in 0.9.0

Started by snikklaas, April 16, 2013, 05:16:13 AM

Previous topic - Next topic

snikklaas

After updating to 0.9.0 all inline images included in email messages are displayed as a pink square. Is this a known issue?

JohnDoh

what setting do you have for $rcmail_config['show_images'] in your config file (and in your user settings, under settings -> preferences -> displaying remote inline images)?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

snikklaas

They both are set to 2 - Always show inline images. But that's not the issue here. I'm talking about images within the email, not from an external source. The exact same config works fine with 0.8.4.

Here's a screenshot, 0.9.0 on the left, 0.8.4 on the right. Both using the same config.


alec

This is a new security feature of 0.9. It found that the image content-type is different than the specified in the message. That's why it displays "dummy" image. As see it doesn't display a warning with option to display the image. Maybe you should open a ticket.

alec

If this is for all messages with images then most likely your server is misconfigured and doesn't detect the content-type correctly.  See mime_magic setting in main.inc.php (try with NULL value).

snikklaas

Quote from: alec on April 16, 2013, 08:43:22 AM
doesn't detect the content-type correctly.  See mime_magic setting in main.inc.php (try with NULL value).

This did the trick.

I still had it set to the default (/usr/share/misc/magic), which doesn't exist on my system.

Thanks for helping me out with this.