Difference between revisions of "Common:Adding Images to Templates"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 2: | Line 2: | ||
In HTML, an image is referenced using a tag that has the form: <tt><nowiki><img src="..."></nowiki></tt>, where the <tt>src</tt> attribute contains the path to the image. That path <!--can be a file path like <tt>../images/local_image_file.jpg</tt> or it can--> must be a URL of the form <tt><nowiki>http://...</nowiki></tt>. | In HTML, an image is referenced using a tag that has the form: <tt><nowiki><img src="..."></nowiki></tt>, where the <tt>src</tt> attribute contains the path to the image. That path <!--can be a file path like <tt>../images/local_image_file.jpg</tt> or it can--> must be a URL of the form <tt><nowiki>http://...</nowiki></tt>. | ||
Insert the URL into an <tt><nowiki><img src="..."></nowiki></tt> tag. The result is tag of the form <tt><img src="{imageURL}/..."></tt>. | Insert the URL into an <tt><nowiki><img src="..."></nowiki></tt> tag. The result is a tag of the form <tt><img src="{imageURL}/..."></tt>. |
Latest revision as of 22:33, 31 October 2014
In HTML, an image is referenced using a tag that has the form: <img src="...">, where the src attribute contains the path to the image. That path must be a URL of the form http://....
Insert the URL into an <img src="..."> tag. The result is a tag of the form <img src="{imageURL}/...">.