#353 new
Joseph Ridgway

Inline images don't work in at least Gmail and Yahoo

Reported by Joseph Ridgway | January 21st, 2010 @ 06:07 PM

Images appear as attachments, not inline images. I've tried many fixes but nothing is working yet. Has anyone had the same issue? Do inline images work for you?

Comments and changes to this ticket

  • Priit Tamboom

    Priit Tamboom April 15th, 2010 @ 01:17 AM

    A bit late with the answer, basically it adds images as attachment but currently there is no option implemented to avoid it, actually it probably should have it. Anyhow until then, you can override body_mail method at issue.rb http://github.com/svenfuchs/adva_cms/blob/master/engines/adva_newsl...

     def body_mail
       body = body_html.dup
        images.each do |image|
          body.sub!(image.uri, "cid:#{image.cid_plain}")
        end
       body
     end
    

    with just

     def body_mail
       body_html
     end
    

    Honestly I'm currently doing other project and haven't recently tested body_mail outcome, do you get correctly replaced images outcome? Or perhaps google/yahoo has disabled inline attachements as images, does other mail agents work as expected?

  • sarahemma

    sarahemma February 9th, 2022 @ 10:22 AM

    It really looks great, I've seen many other posts, that's the info I needed, thanks for sharing.
    word finder

  • lindakash

    lindakash March 14th, 2022 @ 04:05 AM

    Great, I have found great knowledge through your writing, venge io. I will take a closer look taming io and introduce some useful information in your article. Thanks very much.

  • nuatangma

    nuatangma September 22nd, 2022 @ 10:35 AM

    The special points of geometry dash unblocked are its distinctive and engaging gameplay and increasingly challenging levels. And of course, free is a good point. Play to know more

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

Pages