Live Forums/ Traffic LIVE/Templates Library

Embedding Images in Templates

Traffic LIVE
posted this on October 13, 2011 13:29

There are two ways of embedding images in templates. You can either host an image somewhere and then point to it from within your template, but there is a simpler way!

 

Images are depicted in a long string format called Base 64.

 

If you follow this link http://www.dailycoding.com/Utils/Converter/ImageToBase64.aspx and upload your image, you will get back the Base 64 code. You can use this directly in your template to display your image.

 

Comments latest first

User photo
ben rigby
Haberdashery London

I tried this but I cannot view the template to see if it is correct as I get an error message saying I need Java to view the page.

I have the latest java plugin for my browser. I cannot view the page in Dreamweaver.

Am I missing something?  The process of designing a new template is frustrating enough with no preview button, but this suggested image embedding method seems to be impossible?

 

Please help!

December 02, 2011 14:15