Welcome Guest, Not a member yet? Register   Sign In
using anchor around an image tag
#1

[eluser]Eric Cope[/eluser]
Hello, I am trying to create the following code:
Code:
<a href="some/url"><img src="some/img.jpg"></a>

I am trying to use:
Code:
anchor("some/url","<img src='http://url/to/photo'>");

It produces odd undesired results. It is actually printing the text from a previous anchor call. Here is what it produces:

Code:
<a href="correct/url" <img src='current/img/src/path'>>link text from previous anchor use</a>

notice the redundant ">"?

It looks like it is redisplaying the old title. This does not sound correct. Any ideas or tips/tricks?


Messages In This Thread
using anchor around an image tag - by El Forum - 10-15-2007, 10:38 PM
using anchor around an image tag - by El Forum - 10-15-2007, 10:41 PM
using anchor around an image tag - by El Forum - 10-15-2007, 10:48 PM
using anchor around an image tag - by El Forum - 10-15-2007, 11:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB