1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I add images in message user info with custom profile fields

Discussion in 'Styling and Customization Questions' started by account8226, Oct 8, 2011.

  1. account8226

    account8226 Guest

    Hey, I would like to add an image to my message_user_info, that depend from the custom profile field that a member choosed.

    Thanks for the help :)
     
  2. ragtek

    ragtek Guest

    You can use the html output
     
    Elly likes this.
  3. account8226

    account8226 Guest

    And how can I do in order that the value entered by the user in his profile field can put X or Y image. For example the user have to choose btw 1 or 2, if he choose 1 it will show the image of a 1 and if he choose two it will put a image of the number 2.
     
  4. ragtek

    ragtek Guest

    name the image for 1 1.png and for 2 2.png:p
    then set the url to the image => <img src="........{$value}.png" />
     
    Elly likes this.
  5. account8226

    account8226 Guest

    Thanks, btw it's not working for me, there is a broken image whom the link is site.com/images/.png I added the img src code into message user info.
     
  6. account8226

    account8226 Guest

    I figured how to do it, thansk you very much for your help ragtek :)
     
  7. borbole

    borbole Well-Known Member

    What is the exact code that you used?

    Can you post a link to your forum btw? So we can see it first hand.
     
    Elly likes this.
  8. account8226

    account8226 Guest

    It's working thanks guys, one last thing it is making a new line for each icon I put. How can I put all the images on the same line ?

    http://snpr.cm/qyGCCE.png
     
  9. borbole

    borbole Well-Known Member

    You should remove any <br /> tags.
     
  10. account8226

    account8226 Guest

    There isn't any.
     
  11. ragtek

    ragtek Guest

    that's the css stuff^^
    i'm still playing with this because i need this to
     
  12. account8226

    account8226 Guest

    Which CSS lol ?
     
  13. borbole

    borbole Well-Known Member

    In order to help you properly we will need to see the full code that you are using. Otherwise it will be a guess game which is a waste of time for everyone included, for you and everyone that will try to help you out.
     

Share This Page