Replies: 1 comment
-
|
Hey, I created an issue about it :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Any way i can increase the image size limit of 5mb?
As most of modern phones take photos larger than 5mb, I would like to know how can i remove this limitation.
Edit:
I used this Dockerfile and it worked but is there a cleaner way to do this?
I also would like to load the photo preview full res instead of being compressed too much
If i try to copy the link of the photo, it will always end with "&w=384&q=75" which is restricting the height and quality.
75% quality is fine but width for 384 is too small
`FROM ghcr.io/oss-apps/splitpro:v1.5.8
WORKDIR /app
COPY next.config.js ./next.config.js
RUN find .next/ -type f -name ".js" | xargs sed -i 's/5242880/52428800/g' &&
find .next/ -type f -name ".js" | xargs sed -i 's/5000000/52428800/g' &&
find .next/ -type f -name "*.js" | xargs sed -i 's/.concat(5,"MB")/.concat(50,"MB")/g'
EXPOSE 3000
CMD ["node", "server.js"]`
Beta Was this translation helpful? Give feedback.
All reactions