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) »
  • Embedding images in emails
Pages: [1]

Author Topic: Embedding images in emails  (Read 2918 times)

dylanphelan

  • Guest
Embedding images in emails
November 10, 2010, 04:42:25 pm
Hi

I'm new to Civi - I have just offered to help a local NPO set it up.

I am testing my first email, but have not been able to embed the images properly.

They all come through to Outlook with the little red cross - then the user needs to right click and download images.

I have searched the forum, but don't see a solution?

How do I embed the images in emails so that the user does not have to manually download them?

Thanks
Dylan

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: Embedding images in emails
November 10, 2010, 08:51:01 pm
Dyan,

Looks like your you are embedded images using relative path, I think you need to specify absolute path. For eg:
Instead of <img src="../../myimage.jpg"> it should be <img src="http://mysite.com/images/myimage.jpg">

HTh
Kurund
Found this reply helpful? Support CiviCRM

dylanphelan

  • Guest
Re: Embedding images in emails
November 11, 2010, 01:20:53 am
Hi Kurund

Thanks for replying.

I did specify the absolute path.

I browsed to the image in firefox, copied the image url and then inserted it. I checked the source code of the email and it had the absolute path.

I tested with gmail and outlook and both of them did not display the images - I had to download them.

Regards
dylan

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Embedding images in emails
November 11, 2010, 01:36:02 am
can you paste the snippet of code that is in the raw source of the email as received?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

dylanphelan

  • Guest
Re: Embedding images in emails
November 11, 2010, 01:42:12 am
Hi

I've attached 2 text files. One is the source of the message from outlook and the other from civi. I guess it's the same thing?!

Hope that helps, they'd really like to send this out today  :)

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: Embedding images in emails
November 11, 2010, 02:21:21 am
Dylan,

You message text looks fine to me. When I view any messages that contain images in Thunderbird, by default it does not show images. I have to click show images then it loads all the images.

Can you check if there is something similar to this in Outlook.

Hth

Kurund
Found this reply helpful? Support CiviCRM

dylanphelan

  • Guest
Re: Embedding images in emails
November 11, 2010, 02:25:00 am
Hi

Yes, there is that option in Outlook. I am using Outlook with the default settings - so as to replicate the situation of the average user.

Most email marketing systems I have used have the option to embed images in the email, so that it bypasses the process of 'downloading images' in Outlook, Thunderbird, Gmail etc... Messages are then delivered with all images showing, irrespective of the users' settings.

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: Embedding images in emails
November 11, 2010, 02:36:20 am
AFAIK, for loading external images when they are embedded in message user will have to click "show images"

Kurund
Found this reply helpful? Support CiviCRM

dylanphelan

  • Guest
Re: Embedding images in emails
November 11, 2010, 02:47:08 am
Ok. I use a Joomla email marketing component called Acymailing. Perhaps you could take a look at it (free version) - it embeds images so that the user never needs to 'download them'. It does increase spam score a little, but I find it very useful - especially when you are emailing people that are not too clued up on computers (many of these users would not download the images).

On another note:

Seeing as I may not be able to embed the images, is there an option to add a 'view this message in your browser'? I can't seem to find it.

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: Embedding images in emails
November 11, 2010, 02:58:02 am
Quote
I use a Joomla email marketing component called Acymailing.
No idea.

Quote
Seeing as I may not be able to embed the images, is there an option to add a 'view this message in your browser'?

You can create a page equivalent to newsletter on your site and then embed that link to say "view this message in your browser"

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Embedding images in emails

This forum was archived on 2017-11-26.