SM2 Extensions | Joomla! | Custom Development | Brisbane | Australia


Home arrow Support arrow Forum
SM2 Extensions  


Embedding images in a template - 2008/01/01 15:17 Hello,

Could someone tell me how to embed images into a template. I understand how to embed an image into a message, so that it is attached to the email, and displays right away (in most cases). I would like to do the same thing in a template.

Ontario Web Design

Post edited by: Client322, at: 2008/01/12 08:05
  | | The administrator has disabled public write access.
Re:Embedding images in a template - 2008/01/02 05:41 G'Day Corrie

If you have images in your template and you also have the Use Embedded Images option turned on then the images from the template will be embedded along with the images in the message content.

The only time an image will not be embedded is if they are not on the same site as the Joomla! site.

Hope this helps
Tony
  | | The administrator has disabled public write access.
Re:Embedding images in a template - 2008/01/03 12:41 The template eidtor does not have a WYSIWYG editor (which is fine by me). So when I put an <img> tag, and I put in the full URL for the src, the image does not show up embedded.

Is there something I am doing wrong?
  | | The administrator has disabled public write access.
Re:Embedding images in a template - 2008/01/03 13:43 G'Day Corrie

The Template editor does not use the Joomla! editor because the Joomla! editors do not allow certain tags such as head, body, style etc.
So to allow you to be able to enter any html you wish in the template we do not use the editor.

To get it to embed images you need to do the following

1. Have the latest version of SM2 Email Marketing 1.0.6.8+. Previous versions did have issues with embedding images

2. Make sure that in the SM2 Email Marketing Configuration you have Use Embeded Images turned on.

3. Make sure that any image tags you use have a correct path

i.e if your Joomla! Site URL is http://www.test.com/joomla/ then make sure that the image is something like
Code:

  <img src="http://www.test.com/joomla/images/stories/newsletter_logo.jpg" />


If you try to link from images that are not directly in the path of the Joomla! site it will not embed the image.

If you have tried all of this and it is still not working then please log a support ticket in our helpdesk
  | | The administrator has disabled public write access.
Re:Embedding images in a template - 2008/01/05 17:14 A bug has been found whereby the images are embedded before the template is incorporated into the process resulting in any images in the template not being embbeded.

This has been resolved and will be available in the next release 1.0.7.0 due out in a few weeks.
  | | The administrator has disabled public write access.