CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Another HTML email problem: Images and links all get changed/broken
Pages: [1]

Author Topic: Another HTML email problem: Images and links all get changed/broken  (Read 3091 times)

mvcom

  • Guest
Another HTML email problem: Images and links all get changed/broken
April 21, 2009, 02:16:04 am
Hi,

I'm experiencing a problem when sending out HTML messages using CiviMail. It seems CiviMail somehow changes all URLs (links and images) from their full path "http://www.server.com/images/newsletter/blank.gif" to local paths "../images/newsletter/blank.gif". Therefore when subscribers open the newsletter, none of the images are being shown and all links are broken.

I've checked the base URL configuration and that is set correctly (http://www.server.com/). I've also tried to purge/delete the "template_c" folder and all of its subfolders/files and this didn't help either. Also I disabled the url tracking and this didn't help either.

Any further suggestion or ideas on how to resolve this issues would be much appreciated. Thank you!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Another HTML email problem: Images and links all get changed/broken
April 22, 2009, 09:22:25 am
We have fixed few things in v2.2. Can you try to replicate this issue on http://demo.civicrm.org.

thanx

Kurund
Found this reply helpful? Support CiviCRM

mvcom

  • Guest
Re: Another HTML email problem: Images and links all get changed/broken
April 23, 2009, 05:04:16 am
Thanks for your help.

I wasn't able to replicate this issue on your demo site (works like a charm).

But when I tried to upgrade our CiviCRM copy I noticed we're already running version 2.2 (It was listed earlier as 2.1. - my mistake) and are nevertheless still experiencing this issue.

Any other ideas? Might update to 2.2.2. do the trick?

« Last Edit: April 23, 2009, 05:08:52 am by mvcom »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Another HTML email problem: Images and links all get changed/broken
April 23, 2009, 09:29:05 am
Ya may be try upgrading to v2.2.2.

Kurund
Found this reply helpful? Support CiviCRM

andrewhunt

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 13
    • AGH Strategies
  • CiviCRM version: all of 'em
  • CMS version: Drupal, Joomla, and WordPress
Re: Another HTML email problem: Images and links all get changed/broken
April 23, 2009, 08:30:05 pm
I had the same issue, using TinyMCE on 2.2.1.  I tried the upgrade to 2.2.2, but the same problem happened.  I switched to FCKeditor, and that did the trick.  (Unfortunately, I don't know if it's simply switching to FCKeditor or whether it also required an upgrade.)
You can find me at AGH Strategies.
Need help now?  Civi911 is your go-to for CiviCRM support.

mvcom

  • Guest
Re: Another HTML email problem: Images and links all get changed/broken
April 24, 2009, 06:39:36 am
Can you let a newbie know how to do that? Switch the editor?  :)

Thanks!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Another HTML email problem: Images and links all get changed/broken
April 24, 2009, 09:17:51 am
Quote
Can you let a newbie know how to do that? Switch the editor?

Administer CiviCRM >> Global Settings >> Preferences
http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1

Kurund
Found this reply helpful? Support CiviCRM

mvcom

  • Guest
Re: Another HTML email problem: Images and links all get changed/broken
April 27, 2009, 03:22:43 am
Thanks guys!! This worked perfectly! :)

I have just one question. In order for the links to keep the correct formatting, I need to disabled the "Track Click-throughs?". Can this be resolved as well in any way?


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Another HTML email problem: Images and links all get changed/broken
April 27, 2009, 08:33:33 am
Quote
In order for the links to keep the correct formatting, I need to disabled the "Track Click-throughs?"
Can you clarify what formatting ? You can disable "Track Click-throughs?" in Track and Respond (step 2 of 5) step of mailing.

HTh

Kurund
Found this reply helpful? Support CiviCRM

mvcom

  • Guest
Re: Another HTML email problem: Images and links all get changed/broken
April 28, 2009, 02:05:37 am
What I meant is that the URLs/links get rewritten if the click-throughs function is turned on. I thought those new URLs don't work, but I just noticed they do. So everything works perfectly now!

Thanks again everyone. I really appreciate your help on this!  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Another HTML email problem: Images and links all get changed/broken

This forum was archived on 2017-11-26.