News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

October 16, 2019, 12:11:55 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3756
  • Latest: Ocean
Stats
  • Total Posts: 189087
  • Total Topics: 20763
  • Online Today: 58
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 44
Total: 45

Author Topic: Link Blocks and Images  (Read 8091 times)

0 Members and 1 Guest are viewing this topic.

2bz2p

  • Guest
Link Blocks and Images
« on: May 21, 2007, 08:31:27 AM »
This is probably a stupid question, though I cant seem to figure it out

I created a box and put in the HTML code for links. Right now this is what I have in for code.

Code: [Select]
<a href="http://www.americasarmy.com" target="_new"> America's Army</a>
I know if I enter in this code
Code: [Select]
<a href="http://www.americasarmy.com" target="_new"> <img src="/images/aaologo.gif"></a>
Right now I get the box with the red X, I know for a fact that the image is in that directory and the name is correct.

So my question is why am I getting the red box.

Thanks
2B

Maviarab

  • Guest
Re: Link Blocks and Images
« Reply #1 on: May 21, 2007, 08:42:31 AM »
try this...you have a gap between your ...new"> and your <img...

Code: [Select]
<a href="http://www.americasarmy.com" target="_new"><img src="/images/aaologo.gif"></a>

2bz2p

  • Guest
Re: Link Blocks and Images
« Reply #2 on: May 21, 2007, 08:58:49 AM »
I fixed the gap and still the same thing. The images dont have to be in any specific location other than some where in the Public_HTML folder?

Reality12

  • Guest
Re: Link Blocks and Images
« Reply #3 on: May 21, 2007, 09:28:54 AM »
Code: [Select]
<a href="http://www.americasarmy.com" target="_new"><img src="http://www.americasarmy.com/images/aaologo.gif"></a>
What page is that logo on?




2bz2p

  • Guest
Re: Link Blocks and Images
« Reply #4 on: May 21, 2007, 09:45:03 AM »
http://www.americasarmy.com/downloads/

I snaged the picture and put it in my Public_HTML folder under Images.

I will try the code you put in alex.

Edit: that code didn't work, I wonder if its the image???

Flopdogg.com is my site and the box is on the left side.
« Last Edit: May 21, 2007, 09:47:20 AM by 2bz2p »

Reality12

  • Guest
Re: Link Blocks and Images
« Reply #5 on: May 21, 2007, 09:55:09 AM »
[img width= height=]http://www.americasarmy.com/images/logo_aao.gif[/img]

Seems to work fine.

Code: [Select]
<A HREF="http://www.americasarmy.com"><IMG SRC="http://www.americasarmy.com/images/logo_aao.gif"></A>
« Last Edit: May 21, 2007, 10:01:48 AM by ~Alex »

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3129
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Link Blocks and Images
« Reply #6 on: May 21, 2007, 10:32:22 AM »
Try this in your block, make sure you use a script block :)

Code: [Select]
<center><marquee behavior="fade" direction="up" scrolldelay="240" onmouseover="this.stop()" onmouseout="this.start()">
<b><font size="3">Gaming Links</font></b><br><b><font size="2">America's Army Links</font></b><br><font size="2">
<a href="http://www.americasarmy.com" target="_new">
<img src="http://www.americasarmy.com/images/logo_aao.gif" width="90" height="83"></a>
<br><a href="HTTP://www.aaotracker.com" target="_new"> AAO Tracker</a><br><a href="http://www.NAM-Army.com" target="_new">North American Militia</a><br><a href="http://www.aamissiondepot.com/main" target="_new">AA Mission Depot</a></font><br><br><b><font size="3">Search Engines</font></b><br><a href="http://www.Google.com" target="_new">Google</a><br><a href="http://www.Yahoo.com" target="_new">Yahoo</a></center>
« Last Edit: May 21, 2007, 10:34:10 AM by Lesmondâ„¢ »
Please don't PM me for support without an invitation.


2bz2p

  • Guest
Re: Link Blocks and Images
« Reply #7 on: May 21, 2007, 08:24:59 PM »
Lesmond,

     Thank you that worked out great I still dont understand why i wouldnt take without the Height and Width.

Alex,
 
     Thank you for the Help and ideas.

 Though It does work and thank you to all who have posted.


Assistance

  • Guest
Re: Link Blocks and Images
« Reply #8 on: May 21, 2007, 11:55:12 PM »
if u were using your above code in a block, the block assumes the directory for your image is in your forum folder.