Image insertion in dashboard

Hi Bill,

This is what I get with the command ls -l /var/www

Thanks, Gerard.

Your images directory needs to be inside the

/var/www/html/ directory. e.g. /var/www/html/images

The html part of the path was missing.

You can create a new directory: sudo mkdir /var/www/html/images (then delete the old one)
OR
you can move the existing directory: sudo mv /var/www/images /var/www/html/

After you create or move your images directory (and you’re finished copying your images into it)
you’ll need to change its owner to www-data.

To do that, put the filesystem into read-write mode with the rpi-rw command,
then issue the command: sudo chown -R www-data:www-data /var/www/html/images/*

Thank you Bill, problem is solved

I first create /var/www/html/emoncms/images directory, then, copy « test.png" from my iMac to /images

After that, I change the path like this

YW,S!

I’d advise putting the images directory in /var/www/html instead of /var/www/html/emoncms
to prevent any issues in the future if/when you update emonCMS.

Otherwise, good to hear you got it working!

Might someone explain how I bring up the “Configure element” dialogue box as shown in the opening post above? I have a dashboard hosted by OEM’s emoncms.org and would like to add images similar to those shown on the top of this page. RED Electrical - Solar PV system with Tesla Powerwall, immersion heater controller and electric vehicle charging

Also, is there a good place to find similar icons that are suitable for an OEM dashboard?

TIA