PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Avatar Size? (http://www.photopost.com/forum/classifieds-how-do-i/136677-avatar-size.html)

rcsmith May 20th, 2008 08:17 PM

Avatar Size?
 
I woujld like to increase the avatar size if possible.

thanks!

Chuck S May 20th, 2008 09:33 PM

You would have to do a code hack

Change the .5 to say .75 or 1

Code:

Content visible to verified customers only.

rcsmith May 20th, 2008 09:48 PM

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!

Chuck S May 21st, 2008 09:51 AM

Okay thought you where talking about the category avatars

sgthoskins March 19th, 2010 01:56 PM

Quote:

Originally Posted by Chuck S (Post 1224808)
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?

Chuck S March 19th, 2010 02:57 PM

That is in pp-inc.php under the get_imagethumb function.

sgthoskins March 19th, 2010 03:18 PM

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?

Chuck S March 19th, 2010 03:44 PM

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

sgthoskins March 22nd, 2010 01:36 PM

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.

Chuck S March 22nd, 2010 01:46 PM

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

sgthoskins March 22nd, 2010 01:58 PM

Quote:

Originally Posted by Chuck S (Post 1265295)
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.

sgthoskins March 22nd, 2010 02:08 PM

Stylevar -> Forums -> forumicon_size

Went from 24 to 48. Looks fine now. thanks again Chuck.

Chuck S March 22nd, 2010 04:17 PM

No problem glad you got it like you want it


All times are GMT -5. The time now is 01:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97