PDA

View Full Version : HTML Help +rep



GoldenMerc
01-12-2007, 02:50 PM
What would the HTML be to add a image to the end of a usergroup, Well like a username on a vB.
So when ever you add them to it its like
Ross :)
ect....
Ross

Pat McGroin
01-12-2007, 02:52 PM
In the second text box in admincp where you format a name colour ect, add <img src="link here"> to the end of the code.

Luno1599
01-12-2007, 03:42 PM
The above is correct

zeJosh
01-12-2007, 03:45 PM
<img src="name.png(or extension)>

Or, if it's hosted up on a cpanel

<img src="/images/name.png>

something along those lines.

--ss--
01-12-2007, 03:49 PM
Xhtml valid code =

<img src"http://www.hhgs.net/images/image.gif" />Or if the image is hosted on your site

<img src"/images/image.gif" />Just felt like posting :eusa_whis

zeJosh
01-12-2007, 04:55 PM
<img src"/images/image.gif" />Just felt like posting :eusa_whis

Thats the CPanel one xD

Flisker
01-12-2007, 04:56 PM
wheres the "=" in "src"

GoldenMerc
01-12-2007, 08:24 PM
It didnt work:
http://forum.lazycoder.co.uk/~hhgsnet/member.php?u=1937

zeJosh
01-12-2007, 08:26 PM
Hmmm.
is the image uploaded into a folder in cpanel?


<img src="{folder name}/{file name with extension}>

GoldenMerc
02-12-2007, 09:48 PM
Ok this isnt working LOL:
http://www.hhgs.net/member.php?u=1937 is the user who its connected to
Erm heres what it looks like atm:
First bit of code:

<b><font color="grey">
Second bit:

</font> </b><img src"http://www.hhgs.net/ross/Santa2.png"/>
Doesnt work tho :s

Smiddy
02-12-2007, 09:49 PM
For the img src bit, you need a = between the src and the link. Then it should work.

GoldenMerc
02-12-2007, 09:56 PM
ty smiddy, +rep in a sec
Erm now on the shoutbox the image has a huge square around it
+rep to get this away
Ross

--ss--
02-12-2007, 09:57 PM
<b><font color="grey"> </font> </b> <img src="http://www.hhgs.net/ross/Santa2.png" /> Is the right code ;)

Smiddy
02-12-2007, 09:57 PM
Yeah that's the only problem with these images in names thing, you need a black background for it to look good I'm afraid.

GoldenMerc
02-12-2007, 09:58 PM
You serious smiddy :(

Smiddy
02-12-2007, 09:59 PM
Well I never found a way around it when I ran H-P forum. Cos I wanted it too :P

But it looks good when you view the profile.

Anyway, that image would be too big anyway, look how much it stretches the Users online box.

GoldenMerc
02-12-2007, 10:00 PM
Im pretty sure i found a way when i made Ross Birthday VIP but i deleted tht vip some time ago hmm

Smiddy
02-12-2007, 10:01 PM
Read my post above, I edited it before I realised you posted again lol.

ScottDiamond.
02-12-2007, 10:07 PM
Xhtml valid code =

<img src"http://www.hhgs.net/images/image.gif" />Or if the image is hosted on your site

<img src"/images/image.gif" />Just felt like posting :eusa_whis

No, you're wrong.

XHTML Valid:


<img src="../image.gif" border="0" alt="Alternate text" />

GoldenMerc
02-12-2007, 10:08 PM
It looks good when you click on it Hmm

GoldenMerc
02-12-2007, 10:10 PM
So Scott instead of:

</font> </b><img src"http://www.hhgs.net/ross/Santa2.png"/>
It will be:

</font> </b><img src="Santa2.png" border="0" alt="Alternate text" />
Ye?

Edited by Agesilaus (Forum Moderator): Please don't double post when you could have just edited your last post.

ScottDiamond.
02-12-2007, 10:38 PM
So Scott instead of:

It will be:

Ye?

What is "</font> </b>" ending? :S

This should be your code:


</span></strong><img src="../Santa2.png" border="0" alt="Santa!" />

Replace 'Santa!' with whatever you want to appear when the image cannot load / the mouse rolls over the image.

GoldenMerc
03-12-2007, 12:14 AM
Ok this is for vB ye?
So thats the second bit of the start which is font w.e grey boldhttp://www.hhgs.net/member.php?u=1937
When i do your code its corny,The image is like ment to show up but it doesnt !

Want to hide these adverts? Register an account for free!