Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Is it possible when a user uploads a profile image that it does not resize it, it keeps the original

AFNAFN New
edited October 2011 in Vanilla 2.0 - 2.8
Is it possible when a user uploads a profile image that it does not re-size it, it keeps the original or is there some way I can change the height and with?
Tagged:

Best Answer

  • sahotataransahotataran ✭✭✭
    Answer ✓
    you can resize it according to the size u want

    go to YOUR FORUM -> conf -> config-defaults.php and find something like

    $Configuration['Garden']['Picture']['MaxHeight'] = 1000; $Configuration['Garden']['Picture']['MaxWidth'] = 600; $Configuration['Garden']['Profile']['MaxHeight'] = 1000; $Configuration['Garden']['Profile']['MaxWidth'] = 250; $Configuration['Garden']['Preview']['MaxHeight'] = 100; $Configuration['Garden']['Preview']['MaxWidth'] = 75; $Configuration['Garden']['Thumbnail']['Size'] = 50;

    you can change this to the different sizes you want

    There was an error rendering this rich post.

Answers

  • sahotataransahotataran ✭✭✭
    Answer ✓
    you can resize it according to the size u want

    go to YOUR FORUM -> conf -> config-defaults.php and find something like

    $Configuration['Garden']['Picture']['MaxHeight'] = 1000; $Configuration['Garden']['Picture']['MaxWidth'] = 600; $Configuration['Garden']['Profile']['MaxHeight'] = 1000; $Configuration['Garden']['Profile']['MaxWidth'] = 250; $Configuration['Garden']['Preview']['MaxHeight'] = 100; $Configuration['Garden']['Preview']['MaxWidth'] = 75; $Configuration['Garden']['Thumbnail']['Size'] = 50;

    you can change this to the different sizes you want

    There was an error rendering this rich post.

  • AFNAFN New
    edited October 2011
    Thank you @sahotataran
  • you welcome :)

    There was an error rendering this rich post.

Sign In or Register to comment.