Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Images within Newsletters Rate Topic   - - - - -

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 21 January 2007 - 11:07 PM #1

Hi,

I am trying to include images in my newsletters - but the recipients only get the text with a image square box with red cross in it. What am I doing wrong?

1/ Image appears OK in the newsletter when created and saved
2/ I am using an image stored ok on the site in image directory
3/ Tried both .jpg and .gif format
4/ Included sizes etc in image properties.

If anyone can help - I would appreciate your input.

Thanks
Steve

 
  • TonyK
  • Member
  • Members
  • Join Date: 03-Mar 06
  • 1686 posts

Posted 21 January 2007 - 11:15 PM #2

your not including the full url path of the image.

img src="http://www.mysite.com/images/image.jpg"

you cannot use relative links like "/images/image.jpg"

that woudl be my guess w/o seeing your newsletter
Pimpin' skins since v1.0

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 21 January 2007 - 11:35 PM #3

your not including the full url path of the image.

img src="http://www.mysite.com/images/image.jpg"

you cannot use relative links like "/images/image.jpg"

that woudl be my guess w/o seeing your newsletter

Thank you, but I am using the full URL starting with http:// etc, but still not image appears.

 
  • dominos_2004
  • Senior Member
  • Members
  • Join Date: 02-Jan 06
  • 257 posts

Posted 21 January 2007 - 11:41 PM #4

Thank you, but I am using the full URL starting with http:// etc, but still not image appears.


Because we need by default:
Parse Smarty tags in the content of embedded static pages!
CS-Cart 3.0.3

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 21 January 2007 - 11:45 PM #5

Because we need by default:
Parse Smarty tags in the content of embedded static pages!

Thank you Dominos for your input - but I am sorry - I do not understand your comment. Can you expand please?

 
  • dominos_2004
  • Senior Member
  • Members
  • Join Date: 02-Jan 06
  • 257 posts

Posted 21 January 2007 - 11:55 PM #6

Thank you Dominos for your input - but I am sorry - I do not understand your comment. Can you expand please?


OK, if this future will be integrated by default you can:

in your case insert images like (just example): {$images_directories}/yourimage.gif but now you have to insert something like this: http://www.yourdomai...s/yourimage.gif
CS-Cart 3.0.3

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 22 January 2007 - 12:11 AM #7

OK, if this future will be integrated by default you can:

in your case insert images like (just example): {$images_directories}/yourimage.gif but now you have to insert something like this: http://www.yourdomai...s/yourimage.gif

Thank you for the explanation,

I put the image into the skins / images directory etc - see following link -

http://www.mydomain....ages/emvlad.gif

but image still did not show up in received email?

 
  • dominos_2004
  • Senior Member
  • Members
  • Join Date: 02-Jan 06
  • 257 posts

Posted 22 January 2007 - 12:18 AM #8

Thank you for the explanation,

I put the image into the skins / images directory etc - see following link -

http://www.mydomain....ages/emvlad.gif

but image still did not show up in received email?


Because this future not yet integrated by default!
CS-Cart 3.0.3

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 22 January 2007 - 12:23 AM #9

Because this future not yet integrated by default!

Thank you Dominos,

So what you are saying is -

I have to wait for a future cscart update to enable images to be sent in newsletters?

Is that correct?

Steve

PS I thought the skins URL path you suggested was one I could use 'now' to overcome the problem until the modification was made to the cart

 
  • dominos_2004
  • Senior Member
  • Members
  • Join Date: 02-Jan 06
  • 257 posts

Posted 22 January 2007 - 01:10 AM #10

Yes, but i don't know when programers will be integrated it.
CS-Cart 3.0.3

 
  • recedo
  • Senior Member
  • Members
  • Join Date: 24-Apr 06
  • 498 posts

Posted 24 January 2007 - 01:57 PM #11

I have not yet used the newsletter feature so have not really looked at it, but does this mean we cannot yet send html emails?

Simon

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 24 January 2007 - 08:28 PM #12

Hi Simon,

The newsletter features works fine. I have used it quite a lot to successfully send numerous text based emails via the html built in editor. However, i have found that if you select the 'image' icon within the html editor to insert images, they show up on the newsletter page while you are composing it - but the image does not show up within the recipients email. Just an empty box with a red cross - indicating image not found.

And from what I gather on this thread - the image feature is not yet operable in the current cscart versions. It begs the question - "why then is it there in the html editor?"

Hope this is understandable.

Steve

 
  • S-Combs
  • Senior Member
  • Members
  • Join Date: 09-Nov 06
  • 692 posts

Posted 24 January 2007 - 10:35 PM #13

I just tested the newsletter feature for the first time and it worked perfect with html and images. I tested with both, SMTP and PHP mailer and had the same results each way.

Below is the source of each mail and I've attached a screenshot of the email properties showing 2 included images.

Your problem may be server side.. Try changing your mail sending type to see if it helps..

<html>
<head>

<style>

.form-title {
background-color: #ffffff;
color: #141414;
font-weight: bold;
}

.form-field-caption {
font-style:italic;
}

.table-row {
background-color: #f1f3f7;
}

.table-head {
background-color: #bbbbbb;
}

</style>
</head>
<body>
<h1 align="center"><font color="#333399">Test Newsletter</font></h1>
<p align="center"><img height="70" alt="alt text" width="149" src="cid:csimg0.gif" /></p>
<p align="center"> </p>
<p align="center"><img height="70" alt="alt text" width="149" src="cid:csimg1.gif" /></p>


<p>
Thank you for using our shopping cart.
</p>
</body>
</html>

Attached Thumbnails

  • htmlmail.jpg


 
  • TonyK
  • Member
  • Members
  • Join Date: 03-Mar 06
  • 1686 posts

Posted 25 January 2007 - 12:43 AM #14

Hi Simon,

The newsletter features works fine. I have used it quite a lot to successfully send numerous text based emails via the html built in editor. However, i have found that if you select the 'image' icon within the html editor to insert images, they show up on the newsletter page while you are composing it - but the image does not show up within the recipients email. Just an empty box with a red cross - indicating image not found.

And from what I gather on this thread - the image feature is not yet operable in the current cscart versions. It begs the question - "why then is it there in the html editor?"

Hope this is understandable.

Steve


I belive this is the HTML editor inserts the image with a Relavtive URL ie ("../images/image1.jpg") vs ("http://www.mydomain.com/images/image1.jpg").

You should view the html source and verify.
Pimpin' skins since v1.0

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 25 January 2007 - 12:53 AM #15

I belive this is the HTML editor inserts the image with a Relavtive URL ie ("../images/image1.jpg") vs ("http://www.mydomain.com/images/image1.jpg").

You should view the html source and verify.

Thank you CS Blog for your input - but i have tried several complete URL's.
Eg: src="http://www.mydomain.com/images/PMVL_ad.gif" width="567" align="middle" alt="" />
and also from within the cart directories
Eg: http://www.mydomain....ages/emvlad.gif

But no luck?

Steve

 
  • S-Combs
  • Senior Member
  • Members
  • Join Date: 09-Nov 06
  • 692 posts

Posted 25 January 2007 - 12:56 AM #16

I was thinking that also ETI when I tested so I did each image differently and they worked both ways.. When you add the image, you can manually add the full address in front of the path where you find the file but this doesn't matter either way.

The images are 'not sent as images hosted on your site' which is good because most email apps block those images. Instead they are combined with the message (embedded, not attached).

 
  • recedo
  • Senior Member
  • Members
  • Join Date: 24-Apr 06
  • 498 posts

Posted 25 January 2007 - 09:49 AM #17

Well I actually got round to trying it and it worked fine for me with the php mail function, sends the images embedded.

Oh, and that was adding the image directly through the html editor.

I guess your problem must be on your side then.

Simon

 
  • steve
  • Member
  • Members
  • Join Date: 03-Apr 06
  • 37 posts

Posted 25 January 2007 - 09:13 PM #18

Well I actually got round to trying it and it worked fine for me with the php mail function, sends the images embedded.

Oh, and that was adding the image directly through the html editor.

I guess your problem must be on your side then.

Simon

Thanks Simon, but my email mail server has always been set to php mailer function.

Perhaps the problem is my end as you suggest and if so I will post an answer if i find one. But judging from other comments on this thread - I am not the only one with this problem?

Regards,
Steve

 
  • recedo
  • Senior Member
  • Members
  • Join Date: 24-Apr 06
  • 498 posts

Posted 25 January 2007 - 10:35 PM #19

Well I just assumed I had the problem too, which is why I tested it.

It's odd, but I'm sure you can get it resolved with the right help.

Simon

 
  • DELTA9000
  • Senior Member
  • Authorized Reseller
  • Join Date: 17-Apr 07
  • 356 posts

Posted 26 May 2008 - 01:13 PM #20

I am not 100% sure about this - but I think it has to do with the server setup and specifically allow_url_fopen setting.

I had a server with this setting ON - and newsletter images were going fine for the clients end - for security I adjusted this to be OFF, and suddenly images were not coming through - can anyone else confirm this?