Avatar fix in place

New to the board and want to practice? Do it here. Find a bug in the forum, report it here.

Moderator: Tuna Cowboy

Avatar fix in place

Postby poopShotgun » Thu May 04, 2006 5:17 pm

Alright kids, I just put in the new code for avatar resizing. You won't notice it until you are in a topic, and you will still be restricted on image size when uploading an image to the board. Only external images are affected by this code. Your profile is unaffected so if you want to see the actual size image, go to the member's profile. Or, right-click and View Image.

Also, I changed the maximum image size from 80 x 80 to 150 x 150.

WARNING! : If you notice anything out of the ordinary with this mod, please reply. Don't innundate me with stupid jokes; I want to make sure this works.

[props to self] I mangled some other guy's code to make this happen. The MOD this was created from only checked the image width. My code checks both and chooses the largest dimension to resize on, retaining aspect ratio on the smaller dimension.
Splash me on in the morning and wear the great smell of me all day long.
User avatar
poopShotgun
 
Posts: 1601
Joined: Fri Apr 28, 2006 7:13 am
Location: Under the evil influence of Uranus

Postby joe » Thu May 04, 2006 8:43 pm

cool, thanks for doing that.
User avatar
joe
Site Admin
 
Posts: 8235
Joined: Tue Apr 25, 2006 10:06 pm
Location: Sunny Eugene, Oregon

Postby soccermom » Fri May 05, 2006 7:15 am

Great job Poop!
User avatar
soccermom
 
Posts: 235
Joined: Wed Apr 26, 2006 7:30 am

Postby poopShotgun » Fri May 05, 2006 11:34 am

Looks like the profile view code is fucked up. I'll take a look at it after the rally. Funny thing, you can still save the picture at actual size, it's just a tiny 5 x 5 icon where the picture should be. Waow!
Splash me on in the morning and wear the great smell of me all day long.
User avatar
poopShotgun
 
Posts: 1601
Joined: Fri Apr 28, 2006 7:13 am
Location: Under the evil influence of Uranus

Postby poopShotgun » Fri May 12, 2006 2:49 pm

looks like the profile view thing fixed itself. Anyway, keep me posted about any anomalies.
Splash me on in the morning and wear the great smell of me all day long.
User avatar
poopShotgun
 
Posts: 1601
Joined: Fri Apr 28, 2006 7:13 am
Location: Under the evil influence of Uranus

Postby joe » Wed Sep 27, 2006 2:26 pm

poop, the avatar fix is being a bitch. can ya hep a brutha out?
User avatar
joe
Site Admin
 
Posts: 8235
Joined: Tue Apr 25, 2006 10:06 pm
Location: Sunny Eugene, Oregon

Postby poopShotgun » Wed Sep 27, 2006 9:46 pm

Yeah, I can help.

Warning: getimagesize(http://www.poppie.com/images/bfb4.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in f:\Domains\topdeadcentersc.com\wwwroot\phpbb2\viewtopic.php on line 857

This tells me your image hosting site won't give us the fuckin' image size. It's being fine with mine, and mine should be about as big as yours. You got a firewall or proxy or s9omthing? if not, I can check the code, but it was working fine until you posted. Maybe I can change the time that the code happens...
Splash me on in the morning and wear the great smell of me all day long.
User avatar
poopShotgun
 
Posts: 1601
Joined: Fri Apr 28, 2006 7:13 am
Location: Under the evil influence of Uranus

Postby joe » Wed Sep 27, 2006 10:22 pm

fucking italians. I'll copy the image, resize it, and upload to our server.
User avatar
joe
Site Admin
 
Posts: 8235
Joined: Tue Apr 25, 2006 10:06 pm
Location: Sunny Eugene, Oregon


Return to Test Messages and Forum Updates

Who is online

Users browsing this forum: No registered users and 1 guest

cron