Community
OpenEnergyMonitor

Community

Hyperlink picture or button on dashboard

emoncms
Tags: #<Tag:0x00007f16b0e64b00>

(Johannes Rieger) #1

Hi!
I want to add a hyperlink to a picture.

The picture is implemented as a paragrah with the link:

<p><img src="/emoncms/pictures/picname.png" alt=""></p>

Is it possible to add a hyperlink to the picture. If one clicks on the picture another Dashboard has to appear.

If it is not possible (or only with a lot of work) maybe a button can be used for a hyperlink.

Thanks for help!

Johannes


(Johannes Rieger) #2

I figured it out…

add a paragraph with the following html code:

<a href="http://ipofemonpi/emoncms/dashboard/edit&id=5"><p><img src="/emoncms/pictures/picname.png" alt=""></p> </a>

(John Schols) #3

Johannes

Where did you add this html code to get the link in the dashboard…// sorry just worked it out…

Regard
John