TinyPortal

Development => Resources => Topic started by: 2bz2p on May 21, 2007, 03:31:27 PM

Title: Link Blocks and Images
Post by: 2bz2p on May 21, 2007, 03:31:27 PM
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.

<a href="http://www.americasarmy.com" target="_new"> America's Army</a>

I know if I enter in this code
<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
Title: Re: Link Blocks and Images
Post by: Maviarab on May 21, 2007, 03:42:31 PM
try this...you have a gap between your ...new"> and your <img...

<a href="http://www.americasarmy.com" target="_new"><img src="/images/aaologo.gif"></a>
Title: Re: Link Blocks and Images
Post by: 2bz2p on May 21, 2007, 03:58:49 PM
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?
Title: Re: Link Blocks and Images
Post by: Reality12 on May 21, 2007, 04:28:54 PM
<a href="http://www.americasarmy.com" target="_new"><img src="http://www.americasarmy.com/images/aaologo.gif"></a>

What page is that logo on?



Title: Re: Link Blocks and Images
Post by: 2bz2p on May 21, 2007, 04:45:03 PM
http://www.americasarmy.com/downloads/ (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 (http://flopdogg.com) is my site and the box is on the left side.
Title: Re: Link Blocks and Images
Post by: Reality12 on May 21, 2007, 04:55:09 PM
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.americasarmy.com%2Fimages%2Flogo_aao.gif&hash=e1686e3d4c12fd968cb8b7cdf6d341601eea40c8) (http://www.americasarmy.com)

Seems to work fine.

<A HREF="http://www.americasarmy.com"><IMG SRC="http://www.americasarmy.com/images/logo_aao.gif"></A>
Title: Re: Link Blocks and Images
Post by: Lesmond on May 21, 2007, 05:32:22 PM
Try this in your block, make sure you use a script block :)

<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>
Title: Re: Link Blocks and Images
Post by: 2bz2p on May 22, 2007, 03:24:59 AM
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.

Title: Re: Link Blocks and Images
Post by: Assistance on May 22, 2007, 06:55:12 AM
if u were using your above code in a block, the block assumes the directory for your image is in your forum folder.