Last Activity: 9 months ago
Enhancements to profile pic handler.
Your idea has been submitted and is awaiting moderation.
Right now, the profilepic handler is too limiting. I don't know if it's a bug, but you can't request an image larger than 64px in either dimension which is not nearly big enough for some usages.
I know that part of the reason that it works the way it works is to help prevent DoS attacks by limiting resized image generation to just a few default sizes and then returning the closest size to the request.
I would like to request the following enhancements.
1) Add a section to the site administration page that allows the user to specify which sizes should be allowed to be generated.
2) Add methods to the API to allow modules to check to see if a specific profile pic size is registered, and if not, register it.
3) Add an additional "Aspect" parameter that accepts either "fit" or "crop".
The addition of "crop" and the ability to specify exact sizes will provide better design flexibility when using the standard profile pics within modules.
Commenting has been disabled because the Idea is not approved, or is locked, or is closed.