Error when resizing an Avatar image #1650
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
It seems there is not possible to resize "Avatar" image to another size then the default size since afterward during uploading the image i.e. to max size it shows me: "Error: Bad request".
Vikunja Frontend Version
0.21.0
Vikunja API Version
0.21.0
Browser and version
Mozilla Firefox (119.0.1)
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
I was not able to reproduce this using Firefox 118. What kind of image did you use?
I've used this image downloaded in its original size:
https://unsplash.com/photos/close-up-photo-of-llama-ftF9k0ynr4Q
Still not able to reproduce. Which size did you set it to? Which OS are you using?
I've found out that it works correctly with Firefox on Android. But on W10 Firefox it shows the error when resizing.
Still not able to reproduce in a Windows 10 vm with Firefox 118.
Does it work with a different image?
No. Another images work fine. You can replicate the issue by following these steps:
Download the image from "unsplash.com" site in original size:
https://unsplash.com/photos/close-up-photo-of-llama-ftF9k0ynr4Q
Upload the image to Vikunja in Avatar setting.
Resize it to have a maximal square that is possible to have in setting the avatar image.
After resizing, move the square showing the avatar profile a little down.
Upload the image and you will see the error message.
Nope, still not reproducible. Can you check with dev tools opened what the response from the server upload is?
@elemenn What's the server response? What's in the api logs (on the server?)
Where can I find the api logs?
If you're hosting with docker, use the docker logs command for the api container. If you're hosting with systemd, use journalctl.
And what about hosting on Windows 10? Which tool to use for that?
How are you hosting with Windows?
I am hosting Vikunja on W10 basically by running the binaries and opening Vikunja frontend in Mozilla.
Are you running the binary in a terminal? Then you should see the logs in the terminal.