On JPG or PDF uploads, try to reduce the file size if too big.
Technically might be possible with JPGs, just lower the JPG quality a bit. If it's > twice the limit, shouldn't try to.
For PDFs, not sure how to go about shrinking it, probably shouldn't try.
Could also try to attach one version of the document, but still link out to a larger version of the doc? Not sure how that would for "what goes on the court's record". Would need to be very careful handling the things and making sure we don't make things not-visible.
There are some techniques to reduce pdf filesize we're already doing in one of the appeals court repos, I can try to dig up some example code if you haven't seen it already.
On JPG or PDF uploads, try to reduce the file size if too big.
Technically might be possible with JPGs, just lower the JPG quality a bit. If it's > twice the limit, shouldn't try to.
For PDFs, not sure how to go about shrinking it, probably shouldn't try.
Could also try to attach one version of the document, but still link out to a larger version of the doc? Not sure how that would for "what goes on the court's record". Would need to be very careful handling the things and making sure we don't make things not-visible.