Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Profile pic size help
![Nozumi](https://secure.gravatar.com/avatar/d26ef4182bfb9b5ad623c22dd3488336/?default=https%3A%2F%2Fvanillicon.com%2Fbbc51a539cd62ada1ffeaf768c185cca_100.png&rating=g&size=100)
in profile, when you add a profile picture or do "change my picture" the "Thumbnail" is set to 40x40. i would like to change that to 48x48. where/which file must i edit, does anyone know?
0
Comments
try
$Configuration['Garden']['Thumbnail']['Size'] = 48;
or try changing in custom.css
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
the configuration didnt work
the css works but not in the way i want (it just stretches the pic to whatever size u say)
for when in profile, the "Thumbnail" there is your pictures rescaled resolution. it is default 40x40. but when in the discussions page, the discussions page rescales the 40x40 pic to 48x48 (using bootstrap theme). this rescaling is just stretching it. it does not maintain aspect ratio. so the pic in discussions page looks not good.
so for when you upload a pic it sets the "Thumbnail" size to 40x40, i just want to change that to 48x48
make the config change and upload a new pic and see if it fixes it.
the config change only affects new uploads i believe. thumbnails already created will keep their original size.
and therefore "stretched" if the thumbnail is smaller than the css dimensions.
you could also try to keep perspective.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
oh yes it worked. wonderful.
that bring up another question.. is it possible for me to reupload a members profile pic as well? i want to fix it for them myself. besides logging into their account (i dont even know their password anyways)
im guessing the pic is stored somewhere in a database, can i just reupload it to there? do you know?
right click over picture in profile,
copy link and see where the image link is. or copy image location and paste it into browser. an easy way to see where image is located. or once again use your web developer tools.
right click on profile picture , save image to your local pc and then reupload.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
i deleted and reuploaded it but there is a weird problem. the pic only shows when i do the http://www. version of my site
if i do http:// without the www then it doesnt show. the site is normally just http:// (without www.)
not sure what to do.. do you know how to change the vanilla forum site to include www.?
or somehow make the pic work for http:// (non www)
nvm.. the pic works now... it must be some caching issue or something that takes a while to recognize.. sorry if i made u think unnecessary
Your site should not be available with both www and without.
Choose one and set up a rewrite rule to to redirect from the other:
http://stackoverflow.com/questions/234723/generic-htaccess-redirect-www-to-non-www
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
my site works with both versions, is that abnormal?
this is the default .htaccess in my /vanilla folder
Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
this is the redirect code in the link above
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www.(.)$ [NC]
RewriteRule ^(.)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www.(.)$ [NC]
RewriteRule ^(.)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
what should the final .htaccess code be? dont know which lines to merge
lines format didnt work properly.
first off you rewrite base should be changed.
http://vanillaforums.org/discussion/comment/220157/#Comment_220157
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
ok i changed it to /vanilla
what does that even do? not seeing any changes