Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validating image dimensions before save #28

Open
chirantan opened this issue Oct 27, 2010 · 0 comments
Open

Validating image dimensions before save #28

chirantan opened this issue Oct 27, 2010 · 0 comments

Comments

@chirantan
Copy link

When the image gets saved, the height and width of the image get saved in the model correctly. I have a requirement where I need to validate the dimension of the image. It has to be of precisely the same dimensions. But when I try to access height or width before save, it gives me nil.

Is there any way where I can achieve this? I can't find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant