Open logantgt opened 1 year ago
OH LOL
aspect ratio shouldn't be a problem, the game normally squashes or crops the image to fit it into the square/circle
filesize/resolution is a problem
aspect ratio shouldn't be a problem, the game normally squashes or crops the image to fit it into the square/circle
filesize/resolution is a problem
lbp2 past a certain patch and lbp3 crop/letterbox (it seems to letterbox if the aspect ratio is past a certain width?), all other games feed the texture as-is making it get squashed
*** edited by maintainer due to security concern ***
[content removed]
If I may provide a suggestion, it might be a good idea to have the server automatically downscale high resolution images that are too big that it would cause the game to crash. Though that might be harder to implement than having a resolution/file size limit when uploading images.
*** edited by maintainer due to security concern ***
[content removed]
If I may provide a suggestion, it might be a good idea to have the server automatically downscale high resolution images that are too big that it would cause the game to crash. Though that might be harder to implement than having a resolution/file size limit when uploading images.
Hey there! I'll be reaching out via DM shortly to discuss the security-related aspect of this comment with you privately. Given the security concern, I have gone ahead and edited your original message to remove reference of the security information.
Describe the bug Profile pictures uploaded through the website are not checked for either file size or aspect ratio, causing potential server storage issues and layout issues. So far I have tested with images of as large as 30MB which is quite unreasonable for a single image.
To Reproduce Steps to reproduce the behavior:
Expected behavior The site should have the ability to respond with an error informing the user that their image does not meet certain requirements, like a file size limit or acceptable aspect ratio like 1:1 (or ideally a cropping dialogue would be offered).
Screenshots
Environment Details