[AccessD] A2003:Embedded Image in HTML

Darren D darren at activebilling.com.au
Wed Apr 8 02:57:01 CDT 2009


Hi Team

I am storing a big heap of HTML in a field then using it to send HTML formatted
emails

The Problem comes when adding images to the email

Traditionally we'd have a syntax in the HTML referring to the image something
like 

src="C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our logo">

or 

src="file://C:\Documents and Settings\darrend\Desktop\image002.jpg" alt="our
logo">

 

I have since discovered there is a thing called cid that might be called like
this

src="cid:CompanyLogo" alt="our logo">

 

The CID means Content ID and allows for 'embedding' rather than linking

But the problem is I am unable to 'set' this content ID in the HTML - I don't
know how

Does anyone know how to set this stuff up - In pure HTML? 

I have found VB and VBA samples but I have no clue how to write this sort of
stuff in HTML

 

Many thanks

Darren




More information about the AccessD mailing list