Roundcube Community Forum

Release Support => Pending Issues => Topic started by: snikklaas on April 16, 2013, 05:16:13 AM

Title: images pink in 0.9.0
Post by: snikklaas on April 16, 2013, 05:16:13 AM
After updating to 0.9.0 all inline images included in email messages are displayed as a pink square. Is this a known issue?
Title: Re: images pink in 0.9.0
Post by: JohnDoh on April 16, 2013, 05:30:47 AM
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)?
Title: Re: images pink in 0.9.0
Post by: snikklaas on April 16, 2013, 05:42:24 AM
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.

(http://i.imgur.com/LVsoFRZ.png)
Title: Re: images pink in 0.9.0
Post by: alec on April 16, 2013, 08:41:23 AM
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.
Title: Re: images pink in 0.9.0
Post by: alec on April 16, 2013, 08:43:22 AM
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).
Title: Re: images pink in 0.9.0
Post by: snikklaas on April 16, 2013, 08:48:14 AM
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.