Author |
Topic |
netranger
Starting Member
8 Posts |
Posted - 09 April 2003 : 09:41:51
|
Does anyone know what the proper dimensions are for the image that members link to in their profile? If a member wants to link to their image and have it appear in their profile, what width and height in pixels should it be?
Thanks. |
Regards, Paul Armstrong
Nyxsys IT Solutions Inc. |
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
netranger
Starting Member
8 Posts |
Posted - 09 April 2003 : 13:00:51
|
Thanks. That helps a lot. |
Regards, Paul Armstrong
Nyxsys IT Solutions Inc. |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tinem
Junior Member
Denmark
209 Posts |
Posted - 13 July 2003 : 03:43:42
|
Where canI write that the picture has to be 150x150 so the member can see this information? I tried uploading my picture 125x147 but it's look silly. So what can I do? Please help, thanks.
|
This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
|
tinem
Junior Member
Denmark
209 Posts |
Posted - 13 July 2003 : 07:24:30
|
OK thanks. But if I want to make some change in the text under the image where can I do this? Which file, thanks.
|
This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 13 July 2003 : 07:40:23
|
pop_profile.asp line 300:
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>"
The red text is which shows below the image. I think you want to add some text below the input field for the URL though, which is in inc_profile.asp in lines 187 to 202:
if strPicture = "1" then
Response.Write " <tr>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
" <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Picture </font></b></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Picture URL: </font></b></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
if strMode <> "Register" then
if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://")
else
Response.Write("http://")
end if
Response.Write """>X</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if ' strPicture You might want to change the green code from valign=""middle"" to valign=""top"" In the place of the red X you can add a line break after which you can enter the necessary text (example: <font size=""" & strFooterFontSize & """ color=""" & strHiLiteFontColor & """>Image will be shown at 150x150 pixels!</font>)
I didn't test this, but it should work just fine. |
|
|
tinem
Junior Member
Denmark
209 Posts |
Posted - 13 July 2003 : 09:07:13
|
Thanks for you answer but I'm not sure that my code is exactly the same. Maybe it's because I have a translated version for danish and I'm not sure how this function. I have downloaded the danish file from here http://hifi-konsulenten.dk/snitzdk/forum.asp?FORUM_ID=1 but the owner of the forum is on holiday so I can't ask him and the mail is not working in the forum. :-(
I'm new to ASP but would really much like to understand how this forum is made because I think it's great and I want to use it on some others sites if I succeed in understanding how it works. :-)
My codes are - line 300-306 ------ 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 & """>" & fLang(strLangPop_Profile00190) & "</font>" else Response.Write getCurrentIcon(strIconPhotoNone,fLang(strLangPop_Profile00200),"hspace=""2"" vspace=""2""") end if Response.Write "</td>" & vbNewLine & _ " </tr>" & vbNewLine end if ' strPicture ----------
|
This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 13 July 2003 : 09:37:49
|
quote: Originally posted by tinem
My codes are - line 300-306 ------ 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 & """>" & fLang(strLangPop_Profile00190) & "X</font>" else Response.Write getCurrentIcon(strIconPhotoNone,fLang(strLangPop_Profile00200),"hspace=""2"" vspace=""2""") end if Response.Write "</td>" & vbNewLine & _ " </tr>" & vbNewLine end if ' strPicture ----------
Put the extra text where I put the red X. |
|
|
tinem
Junior Member
Denmark
209 Posts |
Posted - 13 July 2003 : 11:34:04
|
--------- The red text is which shows below the image. I think you want to add some text below the input field for the URL though, which is in inc_profile.asp in lines 187 to 202: --------- I did what you mentioned here but nothing happends. :-(
Maybe I schould wait and here what the danish are saying about my problem. :-) But thanks.
|
This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well. |
|
|
tinem
Junior Member
Denmark
209 Posts |
Posted - 15 July 2003 : 12:50:02
|
I have made some changes in "Lang1030.asp" - line 1477. ---------- strLangPop_Profile00190 = "<b>Klik på billedet</b>, <br />for at se det med de korrekte dimensioner. <br />Default indstillingen er 150x150." '"Click image for full pic" ----------- and it's function. But I can't figure out what to do if I want the caption to be "left" and not "center"? I found this code in "inc_profile.asp" -------- if strPicture = "1" then Response.Write " <tr>" & vbNewLine & _ " <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _ " <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>" & fLang(strLangInc_Profile00200) & " </font></b></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & fLang(strLangInc_Profile00210) & " </font></b></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value=""" if strMode <> "Register" then if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://") else Response.Write("http://") end if Response.Write """</font></td>" & vbNewLine & _ " </tr>" & vbNewLine end if ' strPicture if (strBio + strHobbies + strLNews + strQuote) > 0 then if strMode <> "Register" then strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") end if --------------
|
This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well. |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tinem
Junior Member
Denmark
209 Posts |
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tinem
Junior Member
Denmark
209 Posts |
|
Topic |
|