Docs on downloadable plugin resources give an example of gif image.
<resource type="download" name="aimon.gif" location="templates/extra/impresence/aimon.gif"> <param name="content-type" value="image/gif"/> </resource>
How would I use aimon.gif in a velocity template? <img src="aimon.gif"/> doesn't work (it would in CSS template though - another example from that documentation). I tried several permutations of local/absolute paths in velocity but none of this worked.
cheers,
Community moderators have prevented the ability to post new answers.
Hi Tomek!
You map image directly and I guess you need to provide direct path to it:
<img src="$baseurl/download/resources/YOUR-PLUGIN-KEY:YOUR-WEB-RESOURCE-KEY/aimon.gif" />
Please see here for more info: https://answers.atlassian.com/questions/79363
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.