imaginary
imaginary copied to clipboard
Resize: serve original image if width is missing
Please consider making the width parameter for the /resize point optional and simply serve the original image if width is not specified (/resize?width=&file=...) or (better) if the parameter is missing entirely (/resize&file=...). It would require no extra image processing operations, and would greatly simplify ingress configuration since currently there does not seem to be an option to obtain an unmodified image through imaginary.
It's a very common use case to use the same endpoint for resizing images and serving original ones, as we were previously doing with NGINX HTTP image filter module, and it would be incredible to have it supported. Thank you very much in advance!