 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
May 20th, 2008, 08:17 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
| Avatar Size?
I woujld like to increase the avatar size if possible.
thanks!
|
| |
May 20th, 2008, 09:33 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You would have to do a code hack
Change the .5 to say .75 or 1 Code: Content visible to verified customers only.
|
| |
May 20th, 2008, 09:48 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
for starters it would help if I was in my test directory with the upgraded version  .
I meant profile avatar. I found in member.php line 1037
$resize_worked = resize_jpeg($infile, $outfile, 120, 120);
thanks!
|
| |
May 21st, 2008, 09:51 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Okay thought you where talking about the category avatars
|
| |
March 19th, 2010, 01:56 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2010 Location: New Hampshire
Posts: 22
| Quote:
Originally Posted by Chuck S You would have to do a code hack
Change the .5 to say .75 or 1 Code: Content visible to verified customers only.
| What template is that located in?
|
| |
March 19th, 2010, 02:57 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
That is in pp-inc.php under the get_imagethumb function.
|
| |
March 19th, 2010, 03:18 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2010 Location: New Hampshire
Posts: 22
|
I made the change to pp-inc.php to: Code: Content visible to verified customers only.
They didn't change size. Main Index - Northeastshooters Classifieds
The images(avatars) themselves are all set as close to 120x120 as possible.
Is there something I am missing that you can think of?
|
| |
March 19th, 2010, 03:44 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Yes in pp-inc.php this line as your using vb4 so it needs to use a special class Code: Content visible to verified customers only.
Change the 50 and 37 to what you want although you could use $imgw and $imgh if you want
|
| |
March 22nd, 2010, 01:36 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2010 Location: New Hampshire
Posts: 22
|
Chuck,
I made the following change to the php. Basically made them both 50 Code: Content visible to verified customers only.
It looks like only the height was adjusted, it seems the width is getting limited by something else. I also tried using $imgh/$imgw and they were really small.
Any idea what else I can try. You can click on the link in my previous post and see what I'm talking about.
|
| |
March 22nd, 2010, 01:46 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You can check your vb style and see what size restrictions are in the stylevar forumicon
You can also remove the sizes in that statement and just make it a straight img link
|
| |
March 22nd, 2010, 01:58 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2010 Location: New Hampshire
Posts: 22
| Quote:
Originally Posted by Chuck S You can check your vb style and see what size restrictions are in the stylevar forumicon
You can also remove the sizes in that statement and just make it a straight img link | Sounds good, I'll let you know how it turns out.
|
| |
March 22nd, 2010, 02:08 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2010 Location: New Hampshire
Posts: 22
|
Stylevar -> Forums -> forumicon_size
Went from 24 to 48. Looks fine now. thanks again Chuck.
|
| |
March 22nd, 2010, 04:17 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No problem glad you got it like you want it
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:04 PM. | |