Author Topic: images pink in 0.9.0  (Read 6052 times)

Offline snikklaas

  • Newbie
  • *
  • Posts: 3
images pink in 0.9.0
« 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?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: images pink in 0.9.0
« Reply #1 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)?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline snikklaas

  • Newbie
  • *
  • Posts: 3
Re: images pink in 0.9.0
« Reply #2 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.


Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: images pink in 0.9.0
« Reply #3 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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: images pink in 0.9.0
« Reply #4 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).

Offline snikklaas

  • Newbie
  • *
  • Posts: 3
Re: images pink in 0.9.0
« Reply #5 on: April 16, 2013, 08:48:14 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.