Background - Local Image #1

Closed
opened 2023-07-09 08:46:11 +00:00 by PuffTealerS · 5 comments

Hello,

First of all thank you for the development, it works very well and it will be very useful to list my applications to my users :)

Is it possible to use a "local" image that would be stored in the same place as the config.json?

Thanks in advance!

Hello, First of all thank you for the development, it works very well and it will be very useful to list my applications to my users :) Is it possible to use a "local" image that would be stored in the same place as the config.json? Thanks in advance!
Owner

I'm not too sure what you mean by a "local" image next to the config.json, but if you wish to locally build the image to the machine, you can check out the docker-compose.yml file and there is a commented out section to do just that.

First of all thank you for the development

<3

I'm not too sure what you mean by a "local" image next to the config.json, but if you wish to locally build the image to the machine, you can check out the [docker-compose.yml](https://git.fascinated.cc/Fascinated/simple-links/src/branch/master/docker-compose.yml) file and there is a commented out section to do just that. > First of all thank you for the development <3
Author

Sorry I wasn't clear enough, I was talking about the image in the config.js (background, avatar, etc). I'd like to do something like :

"avatar": "./img/toto.png"

Sorry I wasn't clear enough, I was talking about the image in the config.js (background, avatar, etc). I'd like to do something like : `"avatar": "./img/toto.png"`
Owner

Ah, my bad. If you go to here and you will see a new volume add that and then go to your config and update the paths to the images "avatar": "/avatar.png" and the same for the background. I hope you find this helpful, if you have any more questions please feel free to ask!

Ah, my bad. If you go to [here](https://git.fascinated.cc/Fascinated/simple-links/src/branch/master/docker-compose.yml) and you will see a new volume add that and then go to your config and update the paths to the images `"avatar": "/avatar.png"` and the same for the background. I hope you find this helpful, if you have any more questions please feel free to ask!
Author

It works perfectly, thank you!

Sorry, I should have read the dock-compose better ;)

It works perfectly, thank you! Sorry, I should have read the dock-compose better ;)
Owner

It works perfectly, thank you!

Sorry, I should have read the dock-compose better ;)

I just added it to the docker compose, no worries! I'm glad it works:)

> It works perfectly, thank you! > > Sorry, I should have read the dock-compose better ;) I just added it to the docker compose, no worries! I'm glad it works:)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Fascinated/simple-links#1
No description provided.