Images within Newsletters

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

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

[quote name=‘ETInteractive’]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[/QUOTE]

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

[quote name=‘steve’]Thank you, but I am using the full URL starting with http:// etc, but still not image appears.[/QUOTE]



Because we need by default:

Parse Smarty tags in the content of embedded static pages!

[quote name=‘dominos_2004’]Because we need by default:

Parse Smarty tags in the content of embedded static pages![/QUOTE]

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

[quote name=‘steve’]Thank you Dominos for your input - but I am sorry - I do not understand your comment. Can you expand please?[/QUOTE]



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: [url]yourdomain.com

[quote name=‘dominos_2004’]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: [url]yourdomain.com

Thank you for the explanation,



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



[url]http://www.mydomain.com/shop/skins/new_vision_blue/customer/images/emvlad.gif[/url]



but image still did not show up in received email?

[quote name=‘steve’]Thank you for the explanation,



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



[url]http://www.mydomain.com/shop/skins/new_vision_blue/customer/images/emvlad.gif[/url]



but image still did not show up in received email?[/QUOTE]



Because this future not yet integrated by default!

[quote name=‘dominos_2004’]Because this future not yet integrated by default![/QUOTE]

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

Yes, but i don’t know when programers will be integrated it.

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

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 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…



```php





.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;
}




Test Newsletter


alt text



alt text





Thank you for using our shopping cart.



```

htmlmail.jpg

[quote name=‘steve’]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[/quote]



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.

[quote name=‘ETInteractive’]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.[/QUOTE]

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: [url]http://www.mydomain.com/shop/skins/new_vision_blue/customer/images/emvlad.gif[/url]



But no luck?



Steve

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).

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

[quote name=‘recedo’]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[/QUOTE]

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

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

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?