Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Piotr Kulpi?ski's Profile

GitHub User: piotrkulpinski

Comments by Piotr Kulpi?ski

Avatar

Is there any way to get image dimensions in my view?

@user.avatar_width(:thumb) or @user.avatar_height(:thumb)

Something like this?