Forums
(@jay76)
13 years, 2 months ago
Actually, I had to change my code to the following:
userphoto_the_author_photo(”, ”, array(width => ‘220’, height => ‘auto’));
The ‘auto’ value is invalid, but it seems to do what I want.
13 years, 3 months ago
userphoto_the_author_photo(”, ”, array(width => ‘220’, height => ‘100%’));
This will give you an image 220px wide, and whatever height is required to keep the image ratio.
Of course, you can set both values to whatever you want.