Results 1 to 4 of 4

Thread: Gif images not displayed in emails

  1. #1
    collansj is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Gif images not displayed in emails

    Is there a bug in Sugarcrm 5.1.0a that does not allow the display gif images embedded in emails or is it a problem with my setup.
    The gifs are displayed ok with thunderbird directly from the imap sever. However when using sugar's internal email viewer they are shown as a broken icon. I have tried both Firefox and IE6 with the same results .

    System
    Sugar version: 5.1.0a / Sugar DB version: 5.1.0 / Sugar flavor: CE
    Mandriva Linux 2008.1
    Apache version 2.2.8
    MySQL version 5.0.51
    PHP version 5.2.5
    eAccelerator 0.9.5.2
    email server is imap

  2. #2
    collansj is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Re: Gif images not displayed in emails

    I have narrow down what the problem is. It is a fault on my setup. The pointer for the gif images is pointing to the wrong folder. Instead of pointing to /var/www/html/sugar/cache/images it is pointing to /var/www/html/cache/images. Does anybody know where or how to change this setting, without reinstalling sugar from scratch.
    Thanks

  3. #3
    DigiCRM is offline Senior Member
    Join Date
    Sep 2008
    Posts
    84

    Default Re: Gif images not displayed in emails

    hi

    in modules/Emails/compose.php on line 89 ,one image display portion .
    $article_body = str_replace('/cache/images/',$sugar_config['site_url'].'/cache/images/',KBDocument::get_kbdoc_body_without_incrementing_ count($bean->id));

  4. #4
    collansj is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Re: Gif images not displayed in emails

    Quote Originally Posted by DigiCRM
    hi

    in modules/Emails/compose.php on line 89 ,one image display portion .
    $article_body = str_replace('/cache/images/',$sugar_config['site_url'].'/cache/images/',KBDocument::get_kbdoc_body_without_incrementing_ count($bean->id));
    That line is ok in the module. So from the code it looks like I have some corruption of the $sugar_config site url. I have found that in config.php.

    I have now solved the problem.

    My first mistake was to use localhost as the host name and the second mistake was to use the server to test the functions of Sugarcrm.

    When connecting to sugarcrm from other workstations everything worked except where sugarrm had put objects in to cache. Then the browsers were passed "localhost" as part of the address to the cache, which of cause could not be resolved. Changing the host name from localhost to it's network name solved the problem.

    Thanks to DigiCRM for pointing me in the right direction
    Last edited by collansj; 2008-10-12 at 05:29 PM. Reason: I had solved the problem

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 2011-10-31, 03:53 PM
  2. Emails not displayed
    By nosty in forum Help
    Replies: 0
    Last Post: 2008-07-12, 07:08 AM
  3. embedding images in emails
    By nylarosie in forum Help
    Replies: 2
    Last Post: 2007-06-08, 01:34 AM
  4. 4.5.1 embedded images in campaign emails
    By Proware in forum Help
    Replies: 1
    Last Post: 2007-03-14, 03:20 AM
  5. Attached images showed in emails sent
    By matteoraggi in forum Feature Requests
    Replies: 0
    Last Post: 2006-12-20, 02:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •