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

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
First of all, thanks to everyone for the project and the help.
I know it has been discussed before, but I have done all the steps and it doesn’t work for me.
I can’t insert an image into the dashboard.
I have transferred the image correctly:
C:\Users\PC>scp D:\turbina.png [email protected]:/var/www
[email protected]’s password:
turbina.png 100% 29KB 1.3MB/s 00:00<<<<<<<<<<<
pi@emonpi:/var/www $ ls -la
total 332
drwxr-xr-x 4 pi root 4096 Sep 25 15:53 .
drwxr-xr-x 14 root root 4096 Feb 1 2024 …
drwxr-xr-x 10 pi pi 4096 Feb 4 2024 emoncms
drwxr-xr-x 2 root root 4096 Feb 1 2024 html
-rwxrwxrwx 1 pi pi 29795 Sep 25 15:53 turbina.png <<<<<<<<<<<<<<<<
I indicate the route in this way:
I have tried unsuccessfully to place a link to an image from cloud hosting.
I appreciate the help