Loading...
 
Architecture / Installation

Architecture / Installation


Change avatar dimensions to 80x80?

posts: 23 United States
Where can I change avatar dimensions in the code?
posts: 214
If you are using Tiki 14, in Community, General Settings, there is an "Size of the small avatar stored for users." option.
posts: 23 United States
I am on 14 and I see no such option in the menu....?

posts: 214
Go to "Control panels" and use the "Search preferences" for "avatar". Does it show up then?
posts: 214
Sorry, I was in my Tiki 15 test system and it is there. I don't find it in Tiki 14.

posts: 214
Try: tiki-pick_avatar.php?
posts: 23 United States
All that menu does is allow me upload a new avatar.
posts: 3665 United States

The option does not exist in Tiki 14. As Tom Jarvis says, you'll need to manually edit the tiki-pick_avatar.php file. You'll need to modify the code: https://sourceforge.net/p/tikiwiki/code/HEAD/tree/branches/14.x/tiki-pick_avatar.php

I believe the default is set around line 53.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 23 United States
ok edited the file, changed all the 45 entries to 80. In theory should double the size of the avatar but it did not seem to do anything. I cleared the cache. Do I need to re-upload the image again?

posts: 2 India

is this happening in the default theme.... can you share the content of postbit_avatar template....

ACP >> Templates >> Your Theme Templates >> Post Bit Templates >> postbit_avatar


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting