Change avatar size in TSUE 2.2
Hello!
I am using original TSUE 2.2 tracker script. I want to change the avatar size for example to 200 x 200 px. How can I do that without image quality loss ? Please help! http://shrani.si/f/2K/Q2/37x8NvpO/avatar001.jpg |
Quote:
You themes --> CSS find avatar and change size of that |
how about to make it round from default square shape??
|
Can you be more specific...
|
Quote:
Appearance --> Themes Manage Styles --> YOU THEME --> style.css Search for a avatar style and change preference https://s20.postimg.cc/dixjvrssd/Screenshot_3.jpg |
Yes, I did that, but image quality is not good. Its stil like the old size just zoomed in..
|
FYI, to make it round, just add:
-webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px; into your avatar style in style.css and it becomes round or circle shape @slycrespo2; try the above code and change the 100px into 200px in border radius, like this; border-radius: 200px; PS. this is my avatar section as follows: Quote:
good luck m8 |
I don't want radius, I just want bigger avatar picture (without quality loss)...
Bump: Please help somebody... |
Quote:
In Cpanel go to your /library/functions/functions_memberAvatar.php NOTE: FIRST MAKE A BACKUP OF THE FILE FIRST!!! YOU'VE BEEN WARNED! Change the size restriction here. This should be what you want to edit. (Note: You might have to edit the template styles.css and other .css in the template once you change the default sizes of the avatar. Recommend clone the template first. Then edit the clone.) Code:
require_once(REALPATH . "/library/classes/class_upload.php"); |
Hello! thank you for your answer. I have changed the vaules in file functions_memberAvatar.php. Here is the code from how it looks now:
Code:
if( !defined("IN_INDEX") && !defined("IS_AJAX") ) http://shrani.si/f/K/10q/389HKZlC/problem1.jpg |
Im not going to add this errors code to my siver... at the end of the day you need overall Avatar css you need a coder who know what hes doing full stop i can do this but im not going to work the code no more as i said its full of errors look in the admin cp about this this code was not made for php7
|
If someone here can do this for me, I can pay him...
|
you would have to make changes to the css after to control the size for the other pages.
I don't know why Napon is calling it error code. I assume hes talking about using PHP7. You have the images larger now you need to use CSS editing in your template to control the size for certain pages. Like I already warned making the Avatar larger is going to cause template layout issues you'll have to address. ========== I would start here but make a backup the template first. style.css add size attributes to the avatar for certain parts the site see if that will resolve your issue Code:
.memberCardAvatar |
Yes that will be php7
|
All times are GMT +2. The time now is 14:05. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.