Picture size in profile - نوشته شده در (2119 Views)
Junior Member
i011877
مطلب: 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<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
tribaliztic
مطلب: 1532
1532
Perfect! =)
<
/Tribaliztic
- www.gotlandrace.se -
نوشته شده در
Senior Member
muzishun
مطلب: 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)
نوشته شده در
Starting Member
bobmac
مطلب: 14
14
What about the line after the first 150

Clarification: What about the vertical line (pipe?) after the first "150?"
نوشته شده در
Development Team Member
Davio
مطلب: 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.
 
شما باید یک متن وارد کنید