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><image src="..."></nowiki></tt>, where the <tt>src</tt> attribute contains an absolute or relative 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><image src="..."></nowiki></tt>, where the <tt>src</tt> attribute contains an absolute or relative 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><image src="..."></nowiki></tt> tag. The result is tag of the form <tt><image src="{{imageURL}}/..."></tt>.
Insert the URL into an <tt><nowiki><image src="..."></nowiki></tt> tag. The result is tag of the form <tt><image src="{imageURL}/..."></tt>.

Revision as of 20:18, 25 June 2013

In HTML, an image is referenced using a tag that has the form: <image src="...">, where the src attribute contains an absolute or relative path to the image. That path must be a URL of the form http://....

Insert the URL into an <image src="..."> tag. The result is tag of the form <image src="{imageURL}/...">.