On-demand image optimization #3395
thefrana
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
I found that using NextJs built-in image optimisation will bypass the access control system, and the resized image will be available all the time. It also meant malicious users could mine the protected images by guessing the filename. I think having a built-in image optimisator will help with the above situation. |
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
-
Hi,
I propose Payload to have some kind of built-in image optimization that runs on-demand. This would be similar to what Next Image does. Or maybe IPX is the closest implementation: https://www.npmjs.com/package/ipx.
My problem with current approach is that I need wide spectrum of image dimensions and most of the times, I do not need all of the variations.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions