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) »
  • CiviMail Images?
Pages: [1]

Author Topic: CiviMail Images?  (Read 6125 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
CiviMail Images?
August 06, 2007, 11:32:12 am
Hi,

I am sure there is a simple answer to this, but I didn't come up with it through some simple searches on the forum and the wiki.

When I try to send a mailing with images, the images do not show up in the preview, nor in the actual mailing. Can I not send images through CiviMail? Or what am I doing wrong?

Thanks,
Emily

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: CiviMail Images?
August 06, 2007, 12:29:16 pm
Emily:

You can send HTML messages with images. (ie you can embed images in your html message )

kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail Images?
August 06, 2007, 01:15:59 pm
Emily - CiviMail doesn't send images attached to the email. (Most other HTML email-ers don't either as far as I know.). The standard way to include images in HTML emails is to place the images somewhere on your webserver, and  then reference their URLs in your HTML message.

Code: [Select]
<img src="http://www.mysite.org/images/logo.gif" alt="My Logo" />

Hope that helps...
Protect your investment in CiviCRM by  becoming a Member!

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: CiviMail Images?
August 07, 2007, 06:16:04 am
I love CiviMail, but doesn't this seem kind of an awkward way around things? I have a lot of people on staff who are VERY basic in their computer skills. Is there no way to have the images upload with the HTML file that uploads? It just seems like a long way around to have people first upload images, know those paths, and then have to know html code to embed them in their HTML message....For my org I think this may kill the whole plan of using CiviMail, which is very disappointing as it is seeming so close to perfect.

New feature request?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail Images?
August 07, 2007, 09:43:20 am
How are your staff creating your HTML mailing content now? (Or how are you planning on doing this?). Are you using a tool like Dreamweaver? or ....

Also, might the approach discussed by Shane on a recent thread - using a module which grabs Drupal content/pages and creates the mailing content from it - work for your organization? I'm not sure how this module handles images, but I suspect/hope it points to images at their Drupal page location on the server.
Protect your investment in CiviCRM by  becoming a Member!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail Images?
August 09, 2007, 02:51:02 am
The basic (and quite solid) point to not allow images (nor any other attachments) in CiviMail is that it’s a tool for mass-mailings, and any attachment basically makes the size of the mailing grow by at least an order of magnitude.

You can always create a sub-page in your CMS of choice and send a link to it; there are also musings on civicrm-dev of hooking existing Drupal nodes as CiviMail mailings, but I see you’re in that discussion already. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMail Images?
June 03, 2008, 04:01:00 am
Albeit the motivation trying to limit the size of emails is a very valid one, embedded images are not downloaded by default on most of the email clients (because it has been abused to track who opened the emails).

Therefore, that's a common strategy with most emailings to put the "main" images (eg the logo) as an attachement, and the decorative heavy ones as links to images hosted on the web.

Have a look at phplist, that's quite a nice solution for that: they allow embedded images in the templates, but not in the content.

Feature request ?

Xavier
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail Images?
June 03, 2008, 05:26:31 am
I understand (although being a Mutt user, can’t really relate…).

I was going to point you to the CiviMail Attachments thread, but I see you’ve posted there already.

You can open a feature request in our issue tracker for this, but a code contribution would be most welcome. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMail Images?
July 07, 2008, 04:19:51 am
Update:

Attachments is now a feature (up to 3)
http://issues.civicrm.org/jira/browse/CRM-3187
(use svn to get the patch, what lobo did is way better than my hack)

On PHPlist, you can have embeded images, but only in the template (as opposed to ones added on a separated images). Not sure how easy it would be to have a similar feature on civimail.

On a technical level, an embeded image isn't that different than an image as an attachement, might be worthwhile trying from the existing attachement solution to add embeded images (for what I remember, an embeded image is a img tag on the html that uses the mime id of the attached image, might need a different mimetype too)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: CiviMail Images?
July 07, 2008, 09:03:37 am
I would strongly advise against attaching images to your mass mailing. In my experience, any attached images make an email a strong candidate for spam filtering. It's true that posting them separately and linking to them means they won't show up by default in most email readers (who block images by default), but that' s because of the use of images in spam - i.e. there's no good way around this yet.

I'd also strongly advise anyone who does mass mailings to look at any of their existing mass mailings from major companies (i'm sure you're on a few junk lists, yes?). Aside from this issue of images, there are also issues about how html gets interpreted differently on different mail platforms.

And finally - if you're going to try and automated your html civimailings and make them doable by someone who doesn't know html, I think you're making a mistake. Your mass emails are probably more important than your website in terms of drawing traffic and how people perceive you, and it's worth as much to make good mass emails as it is to make a good website in the first place. If you want to be able to send mass emails without any knowledge of html, then just send plain text.

It's very difficult to get out of spam jail and back on to someone's list, easier to avoid getting in jail in the first place and to create content that people actually want and enjoy looking at.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMail Images?
July 07, 2008, 09:28:57 am
Quote
I would strongly advise against attaching images to your mass mailing. In my experience, any attached images make an email a strong candidate for spam filtering.

Not my experience, and most of the (legitimate) html newsletter I receive have a few embedded images. My experience is that it works well with very few small "key" images (eg the logo, bullet points, a small visual stuff), but it's plain wrong with fat images (eg a big image on the background, an image for each article...).

Quote
there are also issues about how html gets interpreted differently on different mail platforms.

YES ! And outlook 2007 is a giant step backward (basically, that junksoft doesn't handle css at all, beside color)

Quote
if you're going to try and automated your html civimailings and make them doable by someone who doesn't know html, I think you're making a mistake

In my experience, it can work if the html guru (and yes, that's way harder to design proper html for mails than for browser, partly because that each test takes way longer, partly because they are more versions you have to support) does the template, and the real content is simple html.

What works best for me is to use a CMS to generate the html, and ask the user to cut n' paste

Suggestion: always add  a "if you experience layout problem in this mail, click here to read it online" type of link and, of course, publish the content on your site


-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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

This forum was archived on 2017-11-26.