Picture size in profile - Postet den (2116 Views)
Junior Member
i011877
Innlegg: 169
169
Well, not actually a mod.
I noticed that when viewing a profile, the photo or picture inserted, is distorted if it's not square.
To fix this go to pop_profile.asp and find this:

Code:
Response.Write	"<a href=""" & ChkString(rs("M_PHOTO_URL"), "displayimage") & """>" & getCurrentIcon(ChkString(rs("M_PHOTO_URL"), "displayimage") & "|150|150",ChkString(rs("M_NAME"),"display"),"hspace=""2"" vspace=""2""") & "</a><br /><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Click image for full picture</font>"
Simply remove the number in red and the height will outosize. This way the picture will not distort.
Just a tip.
Out<
   
 Sidestørrelse 
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
Perfect! =)
<
/Tribaliztic
- www.gotlandrace.se -
Postet den
Senior Member
muzishun
Innlegg: 1079
1079
Thanks for the catch.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Postet den
Starting Member
bobmac
Innlegg: 14
14
What about the line after the first 150

Clarification: What about the vertical line (pipe?) after the first "150?"
Postet den
Development Team Member
Davio
Innlegg: 12217
12217
What about it? Is the change working or not working for you?
Omitting the code in red removes the height of the picture but keeps the width at 150.
 
Du må legge inn en melding