You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by sunyoung1 December 27, 2025
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'
Activity
krokosik commentedon Dec 31, 2025
A fairly simple change of adding a new env var that replaces
src/lib/constantsvalue