friendica/friendica — pull request #507 by fermionic (2012-10-09 15:56:53+00:00)
Title: use getWidth and getHeight, which are agnostic to Imagick being enabled

With Imagick enabled, the square profile photos were being scaled to the original photo's dimensions. By using this->getWidth and this->getHeight instead of this->width and this->height for the scaling functions, the Imagick-based routines don't need to make sure this->width and this->height are always updated