Resize images on my host
Thumbnails and web-sized copies, with the tools the host has.
My <stack> app on <host> accepts image uploads and needs thumbnails and web-sized versions. - Which image libraries this host has available, and how to check. - Resizing on upload vs when first requested. Pick one for my setup. - Fixing phone photos that come out sideways. - Stripping location data and other metadata by default. - Output format and quality settings that keep files small. - Staying inside this host's memory limit. Big photos can exhaust it. Show me the code and where the resized files are stored.
A 12-megapixel photo needs far more memory to resize than its file size suggests. Test with the biggest image your users could send, not a sample.