-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Resize images to prevent data usage #616
Comments
Awesome you're looking into this! In my system, the image is 186 x 145 The original image size is now 4032 x 3024 This is still looking perfectly: The image size has changed from 4.43MB to 206kB. What I do in PHP is using the following: https://www.php.net/manual/en/function.imagecopyresized.php
I input the uploaded image and the output (resized) image I save on disk to use for all future use. I have no experience in C to do this unfortunately, but I've asked our big AI friend, if he can help us out. He came up with this:
|
Released. |
Awesome! I'd love to update my installation, but I'm a bit scared of losing everything. Is there somewhere a description on how to update a running configuration without loosing everything? Is it posible we move all data to a volume maybe? |
The docker compose should include all the volumes that needs configured. |
I have a docker-compose like this:
Note that I added a volume. However it doesn't matter if I add it or dont'. Whenever I run those commands:
It starts a container with an updated version of lubelogger (that's great) When I restore a backup, everything is fine again. |
Your volume does not map to the directories used by the app, refer to the docker-compose.yml file found in this repository. |
That works alot better! Thanks alot! |
I've noticed that my backup is 10mb when I created 5 cars in the system where only 2 of them contain an image.
After looking inside the backup, I've noticed the images haven't been resized.
Maybe it's nice to resize the images to save storage space?
The text was updated successfully, but these errors were encountered: