+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Having Issue with Images in Email Campaign

Having Issue with Images in Email Campaign

8 posts, 0 answered
  1. Jim
    Jim avatar
    22 posts
    Registered:
    09 Sep 2010
    11 Oct 2011
    Link to this post
    Hello,

    I am hoping someone has experienced this problem and can help me out.

    I am using the Email Campaign module to send out a newsletter.  When I create my Message Template, I have a few images that I have inserted into the layout.  The images are stored in the Default Album (stored in database).  They show up fine when editing the Message Template, but when I create the Campaign and send the message using my template, the images are broken.

    The code that is generated when I insert the image when editing the template is:
    <IMG style="WIDTH: 350px; HEIGHT: 61px" src="/images/default-album/hort-couture-logo.jpg" sfref="[images]09e1f634-e44a-4217-b075-67a02f2b20c9">

    Looking at the source code of the email message I receive, the code remains the same.  I can see where this is an issue, because the SRC attribute does not include the domain information....BUT..

    I modified my Message Template so my image source code looks like this:
    <IMG style="WIDTH: 350px; HEIGHT: 61px" src="http://www.hortcoutureplants.com/images/default-album/hort-couture-logo.jpg" sfref="[images]09e1f634-e44a-4217-b075-67a02f2b20c9">

    Then I resent the campaign and looked at the source code of my email, and the image source code was totally mutilated:

    I don't understand what would be causing this...is this a SF bug?  I am running SF 4.2.1650.

    Any help would be greatly appreciated as I have 3 newsletters to send out this week and it would be great to use this module to do it.

    Thank you,
    Jim
  2. Jim
    Jim avatar
    22 posts
    Registered:
    09 Sep 2010
    12 Oct 2011
    Link to this post
    UPDATE:  OK, I found where this was a bug and upgraded my website to 4.2.1733 and the images are working now.  BUT, I have a new problem where http://localhost/ is placed at the beginning of all my links on the received email message.

    Here are a couple of examples of the problem:

    My link in the template shows:  http://www.facebook.com
    My link in the received email shows:  http://localhost/http://www.facebook.com

    My link in the template shows:  http://www.mywebsite.com
    My link in the received email shows:  http://localhost/aa88ee3c-d13d-4751-ba3f-7538ecc6b2ca?sf=98DEE48C2BAAhttp%3a%2f%2fwww.mywebsite.com

    Any ideas what is going on.  This is fairly urgent.

    Thank you,
    Jim
  3. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    13 Oct 2011
    Link to this post
    Dear Jim

    I had a ticket because of this issue about the links and got confirmation that this will be fixed very soon (I sure hope its 4.3)

    Markus
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    14 Oct 2011
    Link to this post
    Hello Jim,

    As Markus noted in his post, this has been logged in our system for fixing, and will most likely be fixed for the upcoming internal release.

    Best wishes,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Thomas Brooke
    Thomas Brooke avatar
    6 posts
    Registered:
    21 Apr 2010
    08 Feb 2012
    Link to this post
    Is this fixed yet? We can't put any links in our emails due to the same issue (blank page found when following links).
    Thanks, Thom
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    10 Feb 2012
    Link to this post
    Hello Thomas,

    The issue has been resolved in Sitefinity 4.3+.

    Greetings,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Charles
    Charles avatar
    36 posts
    Registered:
    18 Apr 2011
    13 Nov 2015 in reply to Victor Velev
    Link to this post

    I'm using SF 6.3.5000

    I am getting the same issue with my images using 'localhost' instead of the domain. Funny part is, I had sent out 6 issues. Issue 1 had localhost to the images, Issues 2 & 3 had the domain, then issues 4, 5 & 6 started using localhost again. 

    While constructing the issue, the images of course show ok? I even updated the image widget with a new image and it still sends out localhost. 

  8. Charles
    Charles avatar
    36 posts
    Registered:
    18 Apr 2011
    13 Nov 2015
    Link to this post

    Ok, after some testing I have got the images to show (and referencing the domain properly instead of localhost). What I had to do was

    1) remove the image widget

    2) insert a content block

    3) insert an image in the content block

    4) update the html of the content block and remove the sfref from the img and put in the domain there. This is circumventing the SF gears and cogs? Which I believe is updating the image src dynamically but inadvertently it puts in a localhost instead of the domain. 

    Hope this helps and maybe identifies the issues as still existing in SF 6.3.5000 instead of claiming fixed in 4.3+. Or maybe this was a different bug but has the same end result, image not showing because of localhost in image source attribute. 

8 posts, 0 answered