Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Dec 2018, 20:38
Slowmin Slowmin is offline
 
Join Date: Nov 2018
Change the Image in the Avatar

I am having problems with my avatars using a smaller thumbnail than I'd like, but can't work out how to change that, and having now luck.

So I would like to change the image it serves to the full image, then rescale in CSS, the CSS I already have, but where can I find this part

<img src="./core/image.php?userid=1&thumb=1&dateline=1545596618" alt="Admin" title="Admin">

So I can just have it show.

<img src="./core/image.php?userid=1" alt="Admin" title="Admin">
Reply With Quote
  #2  
Old 24 Dec 2018, 23:51
Slowmin Slowmin is offline
 
Join Date: Nov 2018
Sorted.

Incase anyone is wanting to do this, I edited image.php in the core directory, if you find $table = 'customavatar';, then replace the $filedata_thumb to just say $filedata as I have here, it's not elegant, and I think someone can probably do this better! But it's doing what I wanted now.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 27 Dec 2018, 04:49
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Attention... if everyone load up a 1 mb avatar and you viewing a thread of 20 posts the user have to load 20mb to see all avatars. If you have wrong thumb size, change it and then (/admincp/misc.php?do=chooser&) rebuild custom avatar thumbnails should work!
__________________
vBulletin-Forum.de closed!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar galerio vBulletin 4.x Add-ons 70 30 Nov 2015 14:46
Show Thread Enhancements [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar galerio vBulletin 3.8 Add-ons 20 14 Jul 2014 19:52
Show Thread Enhancements [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar galerio vBulletin 3.6 Add-ons 0 08 Jun 2011 14:05
Show Thread Enhancements [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar galerio vBulletin 3.7 Add-ons 0 08 Jun 2011 13:59
Show "No Avatar" Image If No Avatar is Selected MW[MWGN] vBulletin 2.x Full Releases 55 16 Sep 2004 02:59



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:32.

Layout Options | Width: Wide Color: