Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


<img> in NOTES

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
nduda78
Cacti User


Joined: 01 Mar 2005
Posts: 105

PostPosted: Tue Nov 27, 2007 10:38 am    Post subject: <img> in NOTES Reply with quote

Howie,

Noob question, whats the exact syntax for adding a image to the NOTES field? I tried a bunch

<img>http:...</img>
<img src=http:...</img>

NOTES <IMG http://cactiserver/graph_image.php?action=view&local_graph_id=5054&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300>
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2061
Location: United Kingdom

PostPosted: Tue Nov 27, 2007 12:44 pm    Post subject: Re: <img> in NOTES Reply with quote

nduda78 wrote:
Howie,

Noob question, whats the exact syntax for adding a image to the NOTES field? I tried a bunch

<img>http:...</img>
<img src=http:...</img>

NOTES <IMG http://cactiserver/graph_image.php?action=view&local_graph_id=5054&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300>


It's regular HTML, so:

<img src="http://blahserver/blah.png">

or

<img src="http://blahserver/blah.png" />

should work fine.

IMG tags don't actually have an 'end' tag. In XHTML they are 'self-closing' which is the second version above, with the /. Browsers should accept both styles.
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Tue Nov 27, 2007 1:52 pm    Post subject: Re: <img> in NOTES Reply with quote

Howie wrote:
nduda78 wrote:
Howie,

Noob question, whats the exact syntax for adding a image to the NOTES field? I tried a bunch

<img>http:...</img>
<img src=http:...</img>

NOTES <IMG http://cactiserver/graph_image.php?action=view&local_graph_id=5054&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300>


It's regular HTML, so:

<img src="http://blahserver/blah.png">

or

<img src="http://blahserver/blah.png" />

should work fine.

IMG tags don't actually have an 'end' tag. In XHTML they are 'self-closing' which is the second version above, with the /. Browsers should accept both styles.


I think he was confusing it with the BBCode that many forums use for embedding pictures in posts.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group