Blog


Repurpose your Images for Mobile Email

10.19.2011

Read More Design Emails for Mobile Devices

Get connected with Email on Acid for up-to-date news and information on the subject of email design, development, and testing!

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Absolute vs. Relative References

It is important to note:  Our Email Test only supports absolute references to links and images embedded within your email.  So what's the difference between the two?  Hopefully this article will shed some light on the subject...

Using Absolute References (supported)

An Absolute Reference provides the complete http address, the directory path, and the file name. For instance, if you had a file named "logo.gif" in a directory called "images" under the URL "http://www.emailonacid.com" you would link to it as follows:

http://www.emailonacid.com/images/logo.gif

In html context, this might appear as:

<IMG ALIGN=bottom src="http://www.emailonacid.com/images/logo.gif">

Absolute references must also be used inside embedded or inline CSS.

Using Relative References (unsupported)

A Relative Reference provides a partial http address in the form of a fragment of a full directory path. Keep in mind that by default, if no server name or path is specified in html, the file reference defaults to the current directory. If you are publishing files on the web, the default would be any file within your www directory.

To use the example above, you would specify the link as

/images/logo.gif

In html context, this might appear as:

<IMG ALIGN=bottom src="/images/logo.gif">

 

Comments

Relative referrences are unsupported for email because the absolute path will always refer to the server on which the received email lies. Until there is a way to force images to the server (which opens security risks), we will always have to use absolute paths.
By Mike Bradley on 02/10/2011

big like! - thanks .
By בגרויות on 05/23/2011

This post couldn't be more correct!!!
By dripable.com on 11/10/2011

Share Your Comment

Name:
Email:
Location:
URL:

Comment:

Remember my personal information
Notify me of follow-up comments?

Please enter the word you see in the image below:



Share/Save/Bookmark

If you haven't signed up yet, give our FREE online Email Test a try. Just drop in your code and we will instantly simulate your email in the most popular email clients!

Get connected with Email on Acid for up-to-date news and information on the subject of email design, development, and testing!

Email Testing RSS Feed Email Test on Twitter Email Preview on Digg Email CSS on Linked In Email Simulator on Stumbled Upon

Follow us on Twitter Become a Friend on Facebook Subscribe to our Blog Digg Us! Recommend on StumbleUpon