reduce size of profile photos

Please someone could help me with this?

I would like to reduce the size of the photos displayed in the user profile

<img style="width: 294px;" id="mainPic" src="">

does someone I could help?

Quote · 9 Aug 2010

Hello!

Find in file modules/boonex/photos/classes/BxPhotosSearch.php next part

if (defined('BX_PROFILE_PAGE') || defined('BX_MEMBER_PAGE')) {
$iPhotoWidth = 294;

and change value of $iPhotoWidth variable.


PS in future we'll change it for more flexible variant.

Regard

Quote · 10 Aug 2010

thank you

Quote · 11 Aug 2010

Could someone tell me if this mod is the current / best approach for this?   I need to reduce the size of the profile photos - they are far too big in my opinion.   I thought there was a setting somewhere to change this? - could someone remind me.  I am also interested in learning the "best practices" when it comes to dealing with the avatar / profile photo mess.

Quote · 16 Apr 2011

You should be able to add something like this, to

modules/boonex/photos/templates/tmpl_SomeTemplateName/css/search.css

or

modules/boonex/photos/templates/base/css/search.css

 

.viewSwitchFile img {
width: 200px !important;
}

 

(Change the 200px to whatever width you want)

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Apr 2011
 
 
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.