I am trying to change the avatar image dimensions. Its currently 32 x 32 which is too small. I believe I am on to the correct file. I am editing thumbnail_single.html
<div class="thumbnail_block" style="float:__sys_thb_float__;width:__sys_thb_width__px;height:__sys_thb_height__px;">
I changed width:__sys_thb_width__px to width:96px
and I changed height:__sys_thb_height__px to height:96px
I also change the following:
<img src="<bx_image_url:spacer.gif />" style="background-image:url(__usr_thumb_url0__);" width="__sys_img_width__" height="__sys_img_height__" alt="__usr_thumb_title0__" title="__usr_thumb_title0__" />
To:
<img src="<bx_image_url:spacer.gif />" style="background-image:url(__usr_thumb_url0__);" width="96" height="96" alt="__usr_thumb_title0__" title="__usr_thumb_title0__" />
All of these changes have definitely resized the containing div and img tag, but it appears when you actually upload the image in the Avatar section of your profile that the code is changing the dimensions of the image to 32px wide X 32px height.
Does anyone know which function controls the size of the Avatar image?
Thanks,
Chad
|
I am having the same issue and did the same thing without success. Does anyone know how to enlarge the avatars? |
Hello, I have been trying to do the same for 2 weeks and I could not,
Please, can you tell me if you found the solution?
|
Perhaps you all need to be a bit more specific as to what image you want changed, and what page it is on.
The 32x32 that you mention is the avatar thumbnail size. The actual avatar size used in the site on all of the member blocks on the home page for example are 64x64
Then there is the 32x32 thumbnail shown above the profile pic in the profile page which by the way is not an avatar thumbnail, it is a photo thumbnail because that section shows profile photos, not avatars.
So i have a feeling you don't know what you actually want to change.
For the avatar which is what you're asking for. The sizes are changed in the file modules/boonex/avatar/include.php
But if you change the avatar thumbnail size from 32x32 to something bigger, you will not like the results. That thumbnail image is used in a lot of locations in the site that will require a lot of template adjustments to get things to look right with the new size. And it will not affect any of the existing avatars that have already be uploaded. Only new ones.
https://www.deanbassett.com |
Sorry I don't speak English, so I do not well explained.I will try to explain it
When these in "view photo", information about the file displays a tumbnail size 64 x 64, that corresponds to the author of the photo
and when you go to your profile at the top(div class=thumbnail_block), only shows a tumbnail 32 x 32
what I want is to know how I make the tumbnail 64 x 64 replace the tumbnail 32 x 32
I don't want to change size, I want to replace the image more large
in /modules/boonex/avatar/data/images are both
imagei.jpg=32x32
image.jpg=64x64
|
Ok. those thumbnails above the photo on the profile page are NOT AVATARS. So the avatar sizes and the files stored in the avatar directory have nothing to do with those images.
Those are profile photos and profile thumbnails.
Photo sizes are controlled in the photos module. Go to admin->Modules->Photos and then go to the settings tab.
But again, just like the avatars it will not have any affect on existing images, only new ones that are uploaded.
Those images are in modules/boonex/photos/data/files
https://www.deanbassett.com |
In admin->Modules->Photos
Width of photo icon (in pixels): 64
Height of photo icon (in pixels):64
Width of photo thumb (in pixels):64
Height of photo thumb (in pixels):64
I then uploaded new photos and the select as avatar
and the image that is displayed at the top of my profile is still 32 x 32
This was what you said to change?
to clarify the theme, I am referring to the image shown in the profiles and this on the side of the status message
|
Oh, the one beside the status message. I thought you were referring to the one above the photo.
That one is an avatar. Ans is controlled by the avatar thumbnail size in the file i mentioned previously. But as i mentioned it will affect all of the thumbnails throughout the site and only on new avatars uploaded after the change is made.
So to change just that one, then you will need to change the code that displays it to pull the 64x64 one instead of the 32x32 one. That i cannot tell you at the moment. I do not know where in the code it is and will need time to find it.
https://www.deanbassett.com |
again, sorry for my english
but I am glad that finally I found,
seeing the code html, shows me this
<img width="32" height="32" title="nanditochp" alt="nanditochp" style="background-image: url("http://www.xxxx.com/modules/boonex/avatar/data/images/13i.jpg");" src="http://www.xxxxxxx.com/templates/tmpl_tmp3/images/spacer.gif">
and can be changed with the help of firebug change 13i.jpg by 13.jpg and changed as the magic
I will I have to change that variable, but nose where exactly
|
Deano
Can you tell me how to change the size of the public video and public photo thumbnail on the homepage. i want to make them small.
Claudia
|
Can anyone (Deano ;-) ) clarify for me...
I have been trying to change the members thumbs size that appears in the members block on home page, and on the people block on browse.php
These are 32x32 at the moment, I would like to increase this to at least 64x64
Any help would be great!
Ive tried the settings in photo - settings but these do not change this image.
Thanks - Tim
|
Avatars are controled in modules/avatar the file to edit is include.php there you will see the 2 sizes of avatars you can edit
But be-aware as stated by deano if you change the avatar to big you will have to edit alot of files in the template
hope this helps
|
Avatars are controled in modules/avatar the file to edit is include.php there you will see the 2 sizes of avatars you can edit
But be-aware as stated by deano if you change the avatar to big you will have to edit alot of files in the template
hope this helps
Thanks but I was looking for the members profile thumbs, not avatars!
My fault for jumping on another thread title!
Tim
|
Deano
Can you tell me how to change the size of the public video and public photo thumbnail on the homepage. i want to make them small.
Claudia
Did you ever get a solution for this?
|
I have beutiful "BigAva" mod for your dolphin site. You see it hear:
http://3.bp.blogspot.com/-J01UYn02z10/Trw4J1DFVjI/AAAAAAAAABQ/27t8wcF4gTs/s1600/Scr.jpg
Price: $10
If you need it, write me to: rs.stigma@gmail.com |
Very confusing whats avatar and thumb now haha. Anyway..... i did for the little member picture on the members profile page (his avatar)
I read through the code and i think this cannot be done via templates yet. I didn't want to rewrite dolphin, so the easiest way i found is to call a renamed copy of the original function with a changed size parameter (red) which already is being used by dolphin internally. So only profile page will call this new function.
In /templates/base/scripts/BxBaseFunctions.php find
function getMemberIcon($iId, $sFloat = 'none', $bGenProfLink = false) { return $this->getMemberThumbnail($iId, $sFloat, $bGenProfLink, 'visitor', false, 'small'); }
right below add this
function getMemberIconMedium($iId, $sFloat = 'none', $bGenProfLink = false) { return $this->getMemberThumbnail($iId, $sFloat, $bGenProfLink, 'visitor', false, 'medium'); }
in /inc/design.inc.php find the following function
function get_member_icon( $ID, $float = 'none', $bGenProfLink = false ) { return $GLOBALS['oFunctions']->getMemberIcon( $ID, $float, $bGenProfLink ); }
right below add this
function get_member_icon_medium( $ID, $float = 'none', $bGenProfLink = false ) { return $GLOBALS['oFunctions']->getMemberIconMedium( $ID, $float, $bGenProfLink ); }
In /templates/base/scripts/BxBaseMenu.php switch from small to medium icon on profile page by calling our new function. Find
$sPictureEl = get_member_icon($this->aMenuInfo['profileID'], 'left');
and change to
$sPictureEl = get_member_icon_medium($this->aMenuInfo['profileID'], 'left');
This should do the trick.
Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81 |
Your script works perfectly, thx a lot!!
But is there a way to make your avatar even bigger? I tryed, 'large' instead of 'medium' but it didn't work^^
|
Thank you Dately for that solution.
I stumbled across this post when I was looking for info on how to increase the thumbnails on the ads page and I realised that this is also needed.
The size of these thumbnails is very important for Facebook likes as these are the images it picks up when someone clicks like and then because they are so small (originally) it stretches them and they look silly on your Facebook page and no one bothers to click on a crappy stretched image on Facebook?? Right??
I think everyone who uses Facebook to promote profiles should make this change.
I am going to try and increase the thumbnails image for the ads but if anyone can send me in the right direction it would be great.
Thank you
MeMe
|
Any ideas on how to implement this for 7.1? It does not seem to be working on 7.1. Geeks, making the world a better place |
I think changes to top_menu.css
div.sys_page_icon { width: 32px; height: 32px; overflow: hidden; }
div.sys_page_icon { width: 64px; height: 64px; overflow: hidden; }
Geeks, making the world a better place |