#1488484 closed Bugs (worksforme)
Unable to upload photo for the contact
| Reported by: | oiram | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.8-stable |
| Component: | Addressbook | Version: | 0.7.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I was trying to add photo(s) to some of my contacts in Roundcube 0.7.2 and was not able to do so. After selecting Add and picking up photo(s), usually between 30-100kB and in different/supported formats. I was only getting "Loading" message. I'm using debug_logger plugin and checked for any errors, there was none thrown, even truncated logs to see anything new coming. Checked Apache error log and noticed error 500 when upload-photo action is executed
192.168.0.200 - - [20/May/2012:15:53:53 +0100] "POST /?_task=addressbook&_framed=1&_id=&_uploadid=1337525631494&_action=upload-photo HTTP/1.1" 500 20 "https://mail/?_task=addressbook&_framed=1&_action=edit&_source=0&_cid=35" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0"
Maybe I'm missing something on my Apache configuration? But other applications which support image(s) upload it works with no problem.
Please let me know if I can provide any additional information.
Change History (3)
comment:1 Changed 12 months ago by alec
- Milestone changed from later to 0.8-stable
- Resolution set to worksforme
- Status changed from new to closed
comment:2 Changed 12 months ago by oiram
I actually have ImageMagick? installed
[/usr/sbin]# pkg_info | grep ImageMagic GraphicsMagick-1.1.15_3,1 Fast image processing tools based on ImageMagick ImageMagick-nox11-6.7.6.9 Image processing tools pecl-imagick-3.1.0.r1 Provides a wrapper to the ImageMagick/GraphicsMagick library
and configured Roundcube accordingly (I hope that is all I have to configure)
// path to imagemagick identify binary $rcmail_config['im_identify_path'] = '/usr/local/bin/identify'; // path to imagemagick convert binary $rcmail_config['im_convert_path'] = '/usr/local/bin/convert';
I need ImageMagick? for other applications (i.e. G3, OpenCart?, OpenWebmail?) as well and these are working fine. I wouldn't bother you guys otherwise.
Any away or advise on how to troubleshoot further on my end?
I will give 0.8-rc a shot and see how this works.
Great job guys!!'''
comment:3 Changed 12 months ago by oiram
Tested with 0.8-rc and seems to be working, but forgotten to check it before upgrade of ImageMagic? (6.7.6.9 -> 6.7.7.0) so that may have fixed this issue actually.

In 0.7 you need ImageMagick? installed on the server and 'im_identify_path', 'im_convert_path' options set. In 0.8 it works also with GD module. Try with 0.8-rc. Works for me.