Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add filter on image size #142

Closed
pmithrandir opened this Issue Oct 29, 2010 · 5 comments

Comments

Projects
None yet
5 participants

Currently, we can prevent thee user to upload an image too big(in MB), but not define a limit width and height.

This function can be useful on his own, but also it would help to resolve an issue.
When you tried to upload a very big file : 13000*9000px and to re-size it, flash cant' do that because of the total memory needed.(around 550MB).

But the problem is that my file is just 2.9MB.
I think it would be good to able us to set limits on with / height.

Pierre

Owner

jayarjo commented Feb 28, 2011

Flash can't handle images bigger then 8191x8191. It's not a memory issue, but rather an inner constraint. We now handle this properly and trigger an error. Filter on image size is great idea. Need to think a bit how to add this.

+1 on needing a filter for a minimum / maximum image size

Anything ever come out this? Would be a great feature!

vitr commented Oct 14, 2013

+1

Owner

jayarjo commented Oct 14, 2013

I doubt we will ever put this into the core, but here's how you could try something like this yourself: max_img_resolution

@jayarjo jayarjo closed this Oct 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment