Picture size in profile

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/65249?pagenum=1
05 November 2025, 09:06

Topic


i011877
Picture size in profile
27 July 2007, 16:06


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<

 

Replies ...


tribaliztic
07 August 2007, 03:26


Perfect! =)
<
muzishun
07 August 2007, 12:49


Thanks for the catch.<
bobmac
09 July 2013, 23:26


What about the line after the first 150

Clarification: What about the vertical line (pipe?) after the first "150?"
Davio
13 July 2013, 18:59


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.
© 2000-2021 Snitz™ Communications