FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

Custom images to documentation

Open burner- opened this issue 2 years ago • 1 comments

Can you add to documentation how to add custom images. I see Images menu but I dont find way to upload those.

burner- avatar Jul 16 '22 17:07 burner-

Hi, what do you mean? where would you like to add your custom image?

unocelli avatar Jul 29 '22 19:07 unocelli

Hi, @unocelli i think i m in the same situation, in the resources menu, there is a menu to add some supposedly previously imported images. for myself i use docker container so the images are supposedly in : /usr/src/app/FUXA/server/_images i ve tried to put svg and PNG images in this folder to check if i can see them in this section, without any results. image

I suppose this menu is made to import some images in the graphics.

here my docker compose

version: '3.3'
services:
    fuxa:
        ports:
            - '1881:1881'
        volumes:
            - './fuxa_appdata:/usr/src/app/FUXA/server/_appdata'
            - './fuxa_db:/usr/src/app/FUXA/server/_db'
            - './fuxa_logs:/usr/src/app/FUXA/server/_logs'
            - './fuxa_images:/usr/src/app/FUXA/server/_images'
        image: 'frangoteam/fuxa:latest'

here is the content of fuxa_images :

 ls fuxa_images/
 ACwasthere.png       'N2 bground.svg'
'dryer bground.svg'   'ROV green opened open commmand rotated 90.svg'
 motor-grey.svg       'ROV green opened open commmand.svg'
 motor-red-fault.svg  'ROV grey closed fault.svg'
 motor-running.svg    'ROV grey closed open commmand.svg'
 motor.svg            'ROV grey closed rotated 90.svg'
 motor-yellow.svg     'ROV grey closed.svg'
'N2 bground.html'

ouinouin avatar Oct 14 '22 05:10 ouinouin

.... theres no issue with the image/resources section.. just upload a folder within _images with a name and the svg inside that folder... image

cicci44 avatar Oct 14 '22 13:10 cicci44

I’m going to close this as resolved. let me know if you have any issues.

unocelli avatar Oct 10 '23 19:10 unocelli