hmm I changed the layout and i want to make the profile photo smaller. Look at the image below....
You see.. the photo is too big for this profile photos block. obvously its not 100% width so I tried to change from this...
.viewSwitchFile {
margin: 10px auto;
text-align: center;
border: 1px solid #CCCCCC;
}
.viewSwitchFile img {
margin: 1px;
}
to
.viewSwitchFile {
margin: 10px auto;
border:1px solid #CCCCCC;
margin:10px;
text-align:center;
width:231px;
}
.viewSwitchFile img {
margin: 1px;
width:229px;
}
in modules/boonex/photos/templates/css/search.php and it doesn't change anything. I even cleared all cache. hmm am i missing something here?
|
oh and the rating stars are out of the box. :/ |
Hi Patrick,
Did you ever figure this out? I'm trying to accomplish the same thing.
|
Good idea but look scks man
I know you can do better
hmm I changed the layout and i want to make the profile photo smaller. Look at the image below....
You see.. the photo is too big for this profile photos block. obvously its not 100% width so I tried to change from this...
.viewSwitchFile {
margin: 10px auto;
text-align: center;
border: 1px solid #CCCCCC;
}
.viewSwitchFile img {
margin: 1px;
}
to
.viewSwitchFile {
margin: 10px auto;
border:1px solid #CCCCCC;
margin:10px;
text-align:center;
width:231px;
}
.viewSwitchFile img {
margin: 1px;
width:229px;
}
in modules/boonex/photos/templates/css/search.php and it doesn't change anything. I even cleared all cache. hmm am i missing something here?
Post Reply - if you going to help - No for - bla bla bla bla |
someone could solve this problem?
I'm trying to do the same, and I can not
|
someone would be so kind as to answer,a little help please
thank you
|
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;"'; } |
|
Thanks magic123! It worked perfectly for me! |
You are welcome ..
Claudia
|
Bumping an old post but does anyone know if you can remove the small picture(s) from the top of this (profile photos) so that you can simply display the main picture only?
Many thanks
|
Bumping an old post but does anyone know if you can remove the small picture(s) from the top of this (profile photos) so that you can simply display the main picture only?
Many thanks
I been wondering this too!
|
Figured out how to remove the thumbnails at the top
Comment out the following lines from /home/thisisar/public_html/modules/boonex/photos/templates/base/photo_switcher.html
<!-- <div class="scrollContainerArea" style="width:__containerWidth__px;"> --> <!-- <div class="scrollContainer" id="scrollContainer" style="width:__contWidth__px;"> --> <!-- <bx_repeat:iconBlock> --> <!-- <div class="scrollUnit" id="pic__imageId__" style="background-image:url(__picUrl__);" > --> <!-- <a href="javascript:void(0);" onClick="javascript: getCurrentImage(__imageId__); return false;"> --> <!-- <img src="<bx_image_url:spacer.gif />" class="scrollUnitPic"/> --> <!-- </a> --> <!-- </div> --> <!-- </bx_repeat:iconBlock> --> <!-- </div> --> <!-- </div> -->
|