[Plugin: User Photo] user photo with fixed width
-
for fixed width photos and thumbnails generation in file user-photo.php
comment this lines (line 852)// figure out the longest side //if ( $info[0] > $info[1] ) { $image_width = $info[0]; $image_height = $info[1]; $image_new_width = $maxdimension; $image_ratio = $image_width / $image_new_width; $image_new_height = $image_height / $image_ratio; //width is > height //} else { // $image_width = $info[0]; // $image_height = $info[1]; // $image_new_height = $maxdimension; // $image_ratio = $image_height / $image_new_height; // $image_new_width = $image_width / $image_ratio; //height > width //}enjoy :))
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: User Photo] user photo with fixed width’ is closed to new replies.