Author Topic: Attached Images and Embedded Images Corrupted RC 0.9.4  (Read 19319 times)

Offline toddg

  • Newbie
  • *
  • Posts: 3
Attached Images and Embedded Images Corrupted RC 0.9.4
« on: October 07, 2013, 11:37:51 AM »
No matter where the email is sent from , RC is not displaying the thumbnail of the image, and when downloading, the image appears to be corrupted. This does not apply only to image files, but nearly any attached file at all.

Using IE10, Firefox, or Chrome. IE and Chrome shows an x for the image, and Firefox does not show an x.

Running W2K3 R2, PHP 5.4, mySQL 5.6, RC 0.9.4.

Any thoughts? Seems this is an old issue that is still hanging around.

Thanks

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Attached Images and Embedded Images Corrupted RC 0.9.4
« Reply #1 on: October 07, 2013, 12:14:27 PM »
My guess is you have whitespace in one of your config files, make sure your main.inc.php, db.inc.php, and any other plugin config files start with "<?php" with no spaces and just remove the bottom ?> to make sure there is no extra whitespace.

Offline toddg

  • Newbie
  • *
  • Posts: 3
Re: Attached Images and Embedded Images Corrupted RC 0.9.4
« Reply #2 on: October 07, 2013, 01:40:47 PM »
You are on the right track!  The problem was a plugin named "filters". When I removed it, the problem instantly went away.

So, if you are using RC 0.9.4 and the "filters" plugin" is installed, remove it if you see this issue.

My list of plugins: $rcmail_config['plugins'] = array('emoticons','newmail_notifier','password');

I checked the filters.php file to look for whitespace issues, but did not find anything obvious. I have simply removed it.
Maybe it will be fixed by the author?

Thanks

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Attached Images and Embedded Images Corrupted RC 0.9.4
« Reply #3 on: October 07, 2013, 02:56:20 PM »
I did a quick look though the plugin (version 2.0) and found whitespace in pl_PL.inc and zh_TW.inc language files, but the problem maybe elsewhere. If you using version 2.0 of the plugin you should probably submit a ticket to the developers so they know about it.

Offline toddg

  • Newbie
  • *
  • Posts: 3
Re: Attached Images and Embedded Images Corrupted RC 0.9.4
« Reply #4 on: October 09, 2013, 10:00:20 AM »
I did the same thing, and the result was the same - images not showing up. I will contact the author and let him know that the "filters" plugin does not play well with RC 0.9.4.  Thank you!