Resizing Avatar Photo with Dolphin 7?

Where do I go to re-size the photo size for Avatars (Profile Photo)? I would like to make it smaller.

Quote · 1 Feb 2010

what do you mean make it smaller, the picture you chose or the file size itself?

If it's the picture you chose simply use your navigation menu Dashboard>Avatar. There you can upload a new picture and resize what you selected.  If the file is already on your server and in your album then simply navigate to the photo and in the action's menu (on the left) select Set as Avatar, this will take you to the avatar selection process and you can recrop the picture.

As for changing the picture size, well you need to upload a new, smaller picture to use as avatar.

Quote · 1 Feb 2010

What I am referring to is the size that shows up in the PROFILE. The photo is smaller that 300x300 and it distorts, stretches the photo when viewing the profile.  I would like the avatar, profile photo size to be more of 200x200 or 150x150. Thanks

Quote · 1 Feb 2010

This one is a bit more tricky as were you need to go is soooo poorly labled.

Go to Modules>Photos>Settings.  Near the bottom you will see the settings for creating thumbs and such, but like I said it is poorly labeled.  Change your photo thumb in there to what you want. To test the setting you have to upload a new photo, there is no way to chance current photos as the thumbnails are generated on the fly.

To change teh size of current photos you will need to download each photo and resize it yourself and then upload.

Quote · 1 Feb 2010

I was able to locate the setting area, but there is no reference to the 300x300 PROFILE photo thumb size. Hmm?

Quote · 1 Feb 2010

I figured it out.  This is what I did:

TO CHANGE AVATAR PROFILE PIC SIZE

Note:  The new width is 200.  You can change it to your desired with.

Open File: /modules/boonex/photos/classes/BxPhotosSearch.php

Find:

}
$this->aCurrent['paginate']['perPage'] = 20;
$aFilesList = $this->getSearchData();
$iCnt = $this->aCurrent['paginate']['totalNum'];
if ($iCnt) {
$aUnit = array();
$aUnits = array();
if (defined('BX_PROFILE_PAGE') || defined('BX_MEMBER_PAGE')) {
$iPhotoWidth = 294;
$sImgWidth = 'style="width:' . $iPhotoWidth . 'px;"';
}

Change to: 

}
$this->aCurrent['paginate']['perPage'] = 20;
$aFilesList = $this->getSearchData();
$iCnt = $this->aCurrent['paginate']['totalNum'];
if ($iCnt) {
$aUnit = array();
$aUnits = array();
if (defined('BX_PROFILE_PAGE') || defined('BX_MEMBER_PAGE')) {
$iPhotoWidth = 200;
$sImgWidth = 'style="width:' . $iPhotoWidth . 'px;"';
}
_______________________________________________

Quote · 25 Feb 2010

Kelley, you're awesome.. Solved my problem!!

Quote · 13 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.